Class: Spotlight::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- Spotlight::Engine
show all
- Defined in:
- lib/spotlight/engine.rb
Overview
Spotlight::Engine rubocop:disable Metrics/ClassLength
Defined Under Namespace
Classes: TranslationYamlHandler
Class Method Summary
collapse
Class Method Details
.blacklight_config ⇒ Object
85
86
87
|
# File 'lib/spotlight/engine.rb', line 85
def self.blacklight_config
Spotlight::Engine.config.default_blacklight_config || catalog_controller.blacklight_config
end
|
.catalog_controller ⇒ Object
81
82
83
|
# File 'lib/spotlight/engine.rb', line 81
def self.catalog_controller
Spotlight::Engine.config.catalog_controller_class.constantize
end
|
.user_class ⇒ Object
77
78
79
|
# File 'lib/spotlight/engine.rb', line 77
def self.user_class
Spotlight::Engine.config.user_class.constantize
end
|