Sha256: f8dc2fb54b254007aaa3744a540f0502b082f3b694aa2a1ea00e7ee7c8e3b793

Contents?: true

Size: 224 Bytes

Versions: 224

Compression:

Stored size: 224 Bytes

Contents

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

Version data entries

224 entries across 185 versions & 18 rubygems

Version Path
actionpack-3.2.22.5 lib/abstract_controller/translation.rb
actionpack-3.2.22.4 lib/abstract_controller/translation.rb
actionpack-3.2.22.3 lib/abstract_controller/translation.rb
actionpack-3.2.22.2 lib/abstract_controller/translation.rb
actionpack-3.2.22.1 lib/abstract_controller/translation.rb
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/abstract_controller/translation.rb
actionpack-3.2.22 lib/abstract_controller/translation.rb
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.12/lib/abstract_controller/translation.rb
actionpack-3.2.21 lib/abstract_controller/translation.rb
actionpack-3.2.20 lib/abstract_controller/translation.rb
actionpack-3.2.19 lib/abstract_controller/translation.rb
actionpack-3.2.18 lib/abstract_controller/translation.rb
actionpack-3.2.17 lib/abstract_controller/translation.rb
actionpack-3.2.16 lib/abstract_controller/translation.rb
actionpack-3.2.15 lib/abstract_controller/translation.rb
actionpack-3.2.15.rc3 lib/abstract_controller/translation.rb
actionpack-3.2.15.rc2 lib/abstract_controller/translation.rb
actionpack-3.2.15.rc1 lib/abstract_controller/translation.rb
actionpack-3.2.14 lib/abstract_controller/translation.rb
actionpack-3.2.14.rc2 lib/abstract_controller/translation.rb