Class: Spotlight::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/spotlight/engine.rb

Overview

Spotlight::Engine rubocop:disable ClassLength

Class Method Summary collapse

Class Method Details

.blacklight_configObject



84
85
86
# File 'lib/spotlight/engine.rb', line 84

def self.blacklight_config
  Spotlight::Engine.config.default_blacklight_config || catalog_controller.blacklight_config
end

.catalog_controllerObject



80
81
82
# File 'lib/spotlight/engine.rb', line 80

def self.catalog_controller
  Spotlight::Engine.config.catalog_controller_class.constantize
end

.user_classObject



76
77
78
# File 'lib/spotlight/engine.rb', line 76

def self.user_class
  Spotlight::Engine.config.user_class.constantize
end