Module: AbstractController::Translation

Included in:
ActionMailer::Base
Defined in:
actionpack/lib/abstract_controller/translation.rb

Instance Method Summary collapse

Instance Method Details

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


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

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

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


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

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