Sha256: 6ac8de7fdc65320cff2ae0688e64bec0570f1ac7308aeda73aa827eef0829b8f
Contents?: true
Size: 544 Bytes
Versions: 2
Compression:
Stored size: 544 Bytes
Contents
module RailsI18nRoutes class Railtie < Rails::Railtie config.i18n_routes = ActiveSupport::OrderedOptions.new config.i18n_routes.selection = :prefix initializer 'rails_i18n_routes' do ::ActionDispatch::Routing::Mapper.send :include, RailsI18nRoutes::ActionDispatch::Mapper ::ActionDispatch::Routing::RouteSet::NamedRouteCollection.send :include, RailsI18nRoutes::ActionDispatch::RouteSet::NamedRouteCollection ::ActionController::Base.send :include, RailsI18nRoutes::ActionController::Base end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_i18n_routes-1.1.9 | lib/rails_i18n_routes/railtie.rb |
rails_i18n_routes-1.1.8 | lib/rails_i18n_routes/railtie.rb |