Module: AbstractController::Translation

Defined in:
actionpack/lib/abstract_controller/translation.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) localize(*args) Also known as: l



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

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

- (Object) translate(*args) Also known as: t



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

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