Sha256: e841f237540283b68f8e8edfd0323b26ffac965bdb084feffe94944bcfe6d6c4
Contents?: true
Size: 478 Bytes
Versions: 1
Compression:
Stored size: 478 Bytes
Contents
module Padrino module Helpers module TranslationHelpers ## # Delegates to I18n.translate with no additional functionality. # def translate(*args) I18n.translate(*args) end alias :t :translate ## # Delegates to I18n.localize with no additional functionality. # def localize(*args) I18n.localize(*args) end alias :l :localize end # TranslationHelpers end # Helpers end # Padrino
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
padrino-helpers-0.10.2 | lib/padrino-helpers/translation_helpers.rb |