Sha256: fa9ad3a2dc061065c2c5a0a4d57a5628576d906b577b56e3fe1539c31163854e
Contents?: true
Size: 485 Bytes
Versions: 5
Compression:
Stored size: 485 Bytes
Contents
module ControllerLevelHelpers module ControllerViewHelpers 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
5 entries across 5 versions & 1 rubygems