retrospring/app/controllers/reactions_controller.rb
2023-10-29 21:52:38 +01:00

9 lines
223 B
Ruby

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