app/controllers/spotlight/pages_controller.rb in blacklight-spotlight-0.17.1 vs app/controllers/spotlight/pages_controller.rb in blacklight-spotlight-0.18.0
- old
+ new
@@ -6,12 +6,11 @@
load_and_authorize_resource :exhibit, class: Spotlight::Exhibit
helper Openseadragon::OpenseadragonHelper
include Spotlight::Base
include Blacklight::SearchContext
- include Spotlight::Catalog::AccessControlsEnforcement
- helper_method :get_search_results, :search_results, :search_params_logic, :fetch, :page_collection_name
+ helper_method :get_search_results, :search_results, :fetch, :page_collection_name
# GET /exhibits/1/pages
def index
# set up a model the inline "add a new page" form
@page = CanCan::ControllerResource.new(self).send(:build_resource)