Module: Konfigurator::Helpers::ActionController

Defined in:
lib/konfigurator/railtie.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
10
# File 'lib/konfigurator/railtie.rb', line 7

def self.included(base)
  base.send :extend, self
  base.helper_method :settings
end

Instance Method Details

#settingsObject



12
13
14
# File 'lib/konfigurator/railtie.rb', line 12

def settings
  Rails.application.settings
end