Module: Goldencobra::ActsAsSetting::Controller

Defined in:
lib/goldencobra/acts_as_setting.rb

Instance Method Summary collapse

Instance Method Details

#s(name) ⇒ Object



4
5
6
7
8
# File 'lib/goldencobra/acts_as_setting.rb', line 4

def s(name)
  if name.present?
    Goldencobra::Setting.for_key(name)
  end
end