app/controllers/bookmarks_controller.rb in blacklight-4.6.3 vs app/controllers/bookmarks_controller.rb in blacklight-4.7.0.pre1
- old
+ new
@@ -95,6 +95,10 @@
protected
def verify_user
flash[:notice] = I18n.t('blacklight.bookmarks.need_login') and raise Blacklight::Exceptions::AccessDenied unless current_or_guest_user
end
+
+ def start_new_search_session?
+ action_name == "index"
+ end
end