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.0.17 lib/abstract_controller/translation.rb
actionpack-3.2.8.rc2 lib/abstract_controller/translation.rb
challah-0.7.0.pre vendor/bundle/gems/actionpack-3.2.7/lib/abstract_controller/translation.rb
actionpack-3.2.8.rc1 lib/abstract_controller/translation.rb
actionpack-3.2.7 lib/abstract_controller/translation.rb
actionpack-3.1.7 lib/abstract_controller/translation.rb
actionpack-3.0.16 lib/abstract_controller/translation.rb
actionpack-3.2.7.rc1 lib/abstract_controller/translation.rb
challah-0.6.2 vendor/bundle/gems/actionpack-3.2.3/lib/abstract_controller/translation.rb
challah-0.6.2 vendor/bundle/gems/actionpack-3.2.2/lib/abstract_controller/translation.rb
challah-0.6.2 vendor/bundle/gems/actionpack-3.2.5/lib/abstract_controller/translation.rb
challah-0.6.2 vendor/bundle/gems/actionpack-3.2.6/lib/abstract_controller/translation.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/abstract_controller/translation.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/abstract_controller/translation.rb
initforthe-cookies-0.0.1 vendor/bundle/gems/actionpack-3.2.6/lib/abstract_controller/translation.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/abstract_controller/translation.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/abstract_controller/translation.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/abstract_controller/translation.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/abstract_controller/translation.rb
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/abstract_controller/translation.rb