aboutsummaryrefslogblamecommitdiffstats
path: root/actionpack/lib/action_controller/translation.rb
blob: 9bb63cdb1556c536e8c1abb57ef61845dccef610 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                          
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