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



54
55
56
57
58
# File 'lib/locomotive/action_controller/locale_helpers.rb', line 54

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