Sha256: 15116ae5c31d0b624857139a4340c4df8602a8ce8cbc6b640bdcff5c704b8666

Contents?: true

Size: 179 Bytes

Versions: 7

Compression:

Stored size: 179 Bytes

Contents

module Slugged
  class Railtie < Rails::Railtie
    
    initializer "slugged.initialize_cache" do
      Slugged.cache = Rails.cache if Rails.cache.present?
    end
    
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
slugged-2.0.0 lib/slugged/railtie.rb
slugged-1.1.0 lib/slugged/railtie.rb
slugged-1.0.1 lib/slugged/railtie.rb
slugged-1.0.0 lib/slugged/railtie.rb
slugged-0.4.0 lib/slugged/railtie.rb
slugged-0.3.3 lib/slugged/railtie.rb
slugged-0.3.2 lib/slugged/railtie.rb