Retrospring/app/controllers/reaction_controller.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
222 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class ReactionController < ApplicationController
def index
answer = Answer.includes([smiles: { user: :profile }]).find(params[:id])
render "index", locals: { a: answer }
end
end