mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
13 lines
No EOL
224 B
Ruby
13 lines
No EOL
224 B
Ruby
module AbstractController
|
|
module Translation
|
|
def translate(*args)
|
|
I18n.translate(*args)
|
|
end
|
|
alias :t :translate
|
|
|
|
def localize(*args)
|
|
I18n.localize(*args)
|
|
end
|
|
alias :l :localize
|
|
end
|
|
end |