Skip to content

Commit ecf3a73

Browse files
committed
[#238] Remove notice since it won't show up on React page anyway
1 parent 7cef679 commit ecf3a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: app/controllers/adventures_controller.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def duplicate
142142
duplicated_adventure.title = "Copy of #{@adventure.title}"
143143
duplicated_adventure.save
144144

145-
redirect_to [:edit, duplicated_adventure], notice: "Adventure was successfully copied."
145+
redirect_to [:edit, duplicated_adventure]
146146
end
147147

148148
private

0 commit comments

Comments
 (0)