Sha256: 68d4b08c8646df0019d65fa9c81277435a2c4afe3d5442acdb45c5ead879bf20

Contents?: true

Size: 275 Bytes

Versions: 8

Compression:

Stored size: 275 Bytes

Contents

require 'rails'

module WillPaginateI18n
  class Railtie < ::Rails::Railtie #:nodoc:
    initializer 'rails-i18n' do |app|
      I18n.load_path << Dir[File.join(File.expand_path(File.dirname(__FILE__) + '/../locale'), '*.yml')]
      I18n.load_path.flatten!
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
will-paginate-i18n-0.0.9 lib/will-paginate-i18n.rb
will-paginate-i18n-0.0.8 lib/will-paginate-i18n.rb
will-paginate-i18n-0.0.7 lib/will-paginate-i18n.rb
will-paginate-i18n-0.0.6 lib/will-paginate-i18n.rb
will-paginate-i18n-0.0.5 lib/will-paginate-i18n.rb
will-paginate-i18n-0.0.4 lib/will-paginate-i18n.rb
will-paginate-i18n-0.0.3 lib/will-paginate-i18n.rb
will-paginate-i18n-0.0.2 lib/will-paginate-i18n.rb