Sha256: 5b6ead7b24beafb31eb49c4923e4a88365ffebd492ed85760d18955a0798640f

Contents?: true

Size: 410 Bytes

Versions: 4

Compression:

Stored size: 410 Bytes

Contents

module LocalizableRoutes
  class Railtie < Rails::Railtie

    initializer 'localizable_routes.action_dispatch' do
      ::ActionDispatch::Routing::RouteSet::NamedRouteCollection.include(
        LocalizableRoutes::Extensions::ActionDispatch::NamedRouteCollection
      )
      ::ActionDispatch::Routing::Mapper.prepend(
        LocalizableRoutes::Extensions::ActionDispatch::Mapper
      )
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
localizable_routes-5.1.2 lib/localizable_routes/railtie.rb
localizable_routes-5.1.1 lib/localizable_routes/railtie.rb
localizable_routes-5.1.0 lib/localizable_routes/railtie.rb
localizable_routes-4.0.0.1 lib/localizable_routes/railtie.rb