app/controllers/spotlight/exhibits_controller.rb in blacklight-spotlight-2.13.0 vs app/controllers/spotlight/exhibits_controller.rb in blacklight-spotlight-3.0.0.alpha.1
- old
+ new
@@ -2,12 +2,12 @@
module Spotlight
##
# Administrative CRUD actions for an exhibit
class ExhibitsController < Spotlight::ApplicationController
+ include Spotlight::SearchHelper
before_action :authenticate_user!, except: [:index]
before_action :set_tab, only: [:edit, :update]
- include Blacklight::SearchHelper
load_and_authorize_resource
def index
@published_exhibits = @exhibits.includes(:thumbnail).published.ordered_by_weight.page(params[:page])