retrospring/app/controllers/reaction_controller.rb
2023-10-15 18:42:30 +02:00

9 lines
222 B
Ruby

# 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