Skip to content
This repository
tag: v3.0.1
file 13 lines (12 sloc) 0.224 kb
1 2 3 4 5 6 7 8 9 10 11 12 13
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
Something went wrong with that request. Please try again.