Module: ActionController::Translation

Defined in:
lib/action_controller/translation.rb

Instance Method Summary collapse

Instance Method Details

#localize(*args) ⇒ Object Also known as: l



8
9
10
# File 'lib/action_controller/translation.rb', line 8

def localize(*args)
  I18n.localize(*args)
end

#translate(*args) ⇒ Object Also known as: t



3
4
5
# File 'lib/action_controller/translation.rb', line 3

def translate(*args)
  I18n.translate(*args)
end