Sha256: e5f4aac2ff256977673ad976744a77135c1b99798fbcbe71039a219caa79c01c
Contents?: true
Size: 480 Bytes
Versions: 2
Compression:
Stored size: 480 Bytes
Contents
module Slugs class Railtie < Rails::Railtie initializer 'slugs' do ::ActionDispatch::Routing::RouteSet::NamedRouteCollection::UrlHelper::OptimizedUrlHelper.prepend( Slugs::Extensions::ActionDispatch::OptimizedUrlHelper ) ::ActionDispatch::Routing::RouteSet::Generator.prepend( Slugs::Extensions::ActionDispatch::Generator ) ::ActiveRecord::Base.include( Slugs::Extensions::ActiveRecord::Base ) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
slugs-2.0.1 | lib/slugs/railtie.rb |
slugs-2.0.0 | lib/slugs/railtie.rb |