app/controllers/bookmarks_controller.rb in blacklight-3.1.2 vs app/controllers/bookmarks_controller.rb in blacklight-3.2.0pre1
- old
+ new
@@ -1,9 +1,10 @@
# -*- encoding : utf-8 -*-
# note that while this is mostly restful routing, the #update and #destroy actions
# take the Solr document ID as the :id, NOT the id of the actual Bookmark action.
class BookmarksController < ApplicationController
-
+
+ before_filter :require_user_authentication_provider
before_filter :verify_user
# Beware, :id is the Solr document_id, not the actual Bookmark id.
# idempotent, as PUT is supposed to be.
# you can also send a bookmark[title] param, which will be used for simplest case