diff --git a/app/controllers/comment_controller.rb b/app/controllers/comment_controller.rb index 3b9c2e93..b3e12514 100644 --- a/app/controllers/comment_controller.rb +++ b/app/controllers/comment_controller.rb @@ -10,7 +10,7 @@ class CommentController < ApplicationController def show_reactions comment = Comment.find(params[:id]) - @reactions = Appendable::Reaction.where(parent_type: "Comment", parent: comment.id).includes([{ user: :profile }]) + @reactions = Reaction.where(parent_type: "Comment", parent: comment.id).includes([{ user: :profile }]) redirect_to answer_path(username: comment.answer.user.screen_name, id: comment.answer.id) unless turbo_frame_request? end