2023-09-13 15:21:59 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2023-10-29 13:14:26 -07:00
|
|
|
class ReactionsController < ApplicationController
|
2023-09-13 15:21:59 -07:00
|
|
|
def index
|
|
|
|
answer = Answer.includes([smiles: { user: :profile }]).find(params[:id])
|
|
|
|
|
|
|
|
render "index", locals: { a: answer }
|
|
|
|
end
|
|
|
|
end
|