From ecf3a73f50ddb6a38b8044d66a0e6781480bb683 Mon Sep 17 00:00:00 2001 From: Noah Over Date: Fri, 2 Feb 2024 13:49:05 -0500 Subject: [PATCH] [#238] Remove notice since it won't show up on React page anyway --- app/controllers/adventures_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/adventures_controller.rb b/app/controllers/adventures_controller.rb index 3a7623c..812c8da 100644 --- a/app/controllers/adventures_controller.rb +++ b/app/controllers/adventures_controller.rb @@ -142,7 +142,7 @@ def duplicate duplicated_adventure.title = "Copy of #{@adventure.title}" duplicated_adventure.save - redirect_to [:edit, duplicated_adventure], notice: "Adventure was successfully copied." + redirect_to [:edit, duplicated_adventure] end private