instiki/vendor/rails/actionpack/lib/action_controller/translation.rb

13 lines
220 B
Ruby
Raw Normal View History

module ActionController
module Translation
def translate(*args)
I18n.translate *args
end
alias :t :translate
def localize(*args)
I18n.localize *args
end
alias :l :localize
end
end