Permalink
Browse files

Merge pull request #683 from elzj/bookmarks_flash

Making bookmarks flash message not stick around
  • Loading branch information...
2 parents 5fa4864 + 9bbf5ea commit 5ce7c136e418baa2b875daa9bd30bb1b8172a180 @sarken sarken committed Jun 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/bookmarks_controller.rb
@@ -99,7 +99,7 @@ def index
@bookmarks = @bookmarks.visible_to_all
end
else
- flash[:notice] = ts("Bookmark pages are currently being reworked. Apologies for the inconvenience!")
+ flash.now[:notice] = ts("Bookmark pages are currently being reworked. Apologies for the inconvenience!")
if params[:tag_id] # tag page
unless owner
raise ActiveRecord::RecordNotFound, "Couldn't find tag named '#{params[:tag_id]}'"

0 comments on commit 5ce7c13

Please sign in to comment.