From d3a20060e22d781ef3a555f3f903176827e56ae9 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Wed, 22 Oct 2025 17:07:24 -0700 Subject: [PATCH] Redirect to collection after publishing a card --- app/controllers/cards/publishes_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/cards/publishes_controller.rb b/app/controllers/cards/publishes_controller.rb index 298f8bbe4..9aeab76ce 100644 --- a/app/controllers/cards/publishes_controller.rb +++ b/app/controllers/cards/publishes_controller.rb @@ -7,7 +7,7 @@ class Cards::PublishesController < ApplicationController if add_another_param? redirect_to @collection.cards.create!, notice: "Card added" else - redirect_to @card + redirect_to @card.collection end end