Sha256: 92284fc68682223b64011c2be71a291641f80d02789919ae2c353ff2f8689589
Contents?: true
Size: 515 Bytes
Versions: 12
Compression:
Stored size: 515 Bytes
Contents
module ControllerLevelHelpers module ControllerViewHelpers include Blacklight::Facet def blacklight_config controller.blacklight_config end def search_state @search_state ||= Blacklight::SearchState.new(params, blacklight_config) end def blacklight_configuration_context @blacklight_configuration_context ||= Blacklight::Configuration::Context.new(controller) end end def initialize_controller_helpers(helper) helper.extend ControllerViewHelpers end end
Version data entries
12 entries across 12 versions & 1 rubygems