Class: ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Includes:
Blacklight::Controller, BreadcrumbsOnRails::ActionController, Hydra::Controller::ControllerBehavior, Sufia::Controller
Defined in:
app/controllers/application_controller.rb

Instance Method Summary collapse

Instance Method Details

#show_action_bar?Boolean

Returns:



54
55
56
# File 'app/controllers/application_controller.rb', line 54

def show_action_bar?
  true
end

#show_site_search?Boolean

Returns:



59
60
61
# File 'app/controllers/application_controller.rb', line 59

def show_site_search?
  true
end

#sufiaObject

Please be sure to impelement current_user and user_session. Blacklight depends on these methods in order to perform user specific actions.



19
20
21
# File 'app/controllers/application_controller.rb', line 19

def sufia
  self
end