Module: Locomotive::ActionController::LocaleHelpers::ClassMethods

Defined in:
lib/locomotive/action_controller/locale_helpers.rb

Instance Method Summary collapse

Instance Method Details

#localized(enable_it = true) ⇒ Object



51
52
53
54
55
# File 'lib/locomotive/action_controller/locale_helpers.rb', line 51

def localized(enable_it = true)
  before_filter do |c|
    c.instance_variable_set(:@locomotive_localized, enable_it)
  end
end