Class: Spotlight::Engine

Inherits:
Rails::Engine
  • Object
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_configObject



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_controllerObject



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

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

.user_classObject



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

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