aboutsummaryrefslogblamecommitdiffstats
path: root/actionpack/lib/abstract_controller/translation.rb
blob: 6d68cf4944c157ebe9ab42df877046121db331f3 (plain) (tree)
1
2
3
4
5
6
7
8
9
                         

                        
                           



                       
                          



                      
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