Always use _path unless we are changing domains
This commit is contained in:
@@ -12,7 +12,7 @@ class Cards::Comments::ReactionsController < ApplicationController
|
||||
@reaction = @comment.reactions.create!(reaction_params)
|
||||
|
||||
broadcast_create
|
||||
redirect_to card_comment_reactions_url(@comment.card, @comment)
|
||||
redirect_to card_comment_reactions_path(@comment.card, @comment)
|
||||
end
|
||||
|
||||
def destroy
|
||||
|
||||
Reference in New Issue
Block a user