From 256d5360095cc8e0bd8d0d50ebd1a916b9d2e5c0 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 11 Apr 2025 16:58:56 +0200 Subject: [PATCH] Always use _path unless we are changing domains --- app/controllers/cards/comments/reactions_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/cards/comments/reactions_controller.rb b/app/controllers/cards/comments/reactions_controller.rb index 8517041b7..392179db3 100644 --- a/app/controllers/cards/comments/reactions_controller.rb +++ b/app/controllers/cards/comments/reactions_controller.rb @@ -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