Class: Lcms::Engine::Admin::AdminController

Inherits:
Lcms::Engine::ApplicationController show all
Includes:
PathHelper
Defined in:
app/controllers/lcms/engine/admin/admin_controller.rb

Constant Summary collapse

RE_GOOGLE_FOLDER =
%r{/drive/(.*/)?folders/}.freeze

Class Method Summary collapse

Methods included from PathHelper

#dynamic_document_path, #dynamic_material_path, #dynamic_path

Class Method Details

.settingsObject



22
23
24
# File 'app/controllers/lcms/engine/admin/admin_controller.rb', line 22

def self.settings
  @settings ||= DEFAULTS.merge((YAML.load_file(CONFIG_PATH) || {}).deep_symbolize_keys)
end