Always use _path unless we are changing domains

This commit is contained in:
David Heinemeier Hansson
2025-04-11 16:58:56 +02:00
parent 16c1583133
commit 256d536009
@@ -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