Skip to content

Commit

Permalink
[#238] Remove notice since it won't show up on React page anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
noahko96 committed Feb 7, 2024
1 parent 7cef679 commit ecf3a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/adventures_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ecf3a73

Please sign in to comment.