Module: ActionController::Translation
- Defined in:
- lib/action_controller/translation.rb
Instance Method Summary collapse
- #localize(*args) ⇒ Object (also: #l)
- #translate(*args) ⇒ Object (also: #t)
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 |