aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/translation.rb
blob: 65e9eddb0a2e5e5cb59c4cbccf84f6eb695e83d6 (plain) (blame)
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