Sha256: 069033f118ee4b4b6783f8f01114bcabdb83cc24a0e895b384a47260a195c8f2

Contents?: true

Size: 266 Bytes

Versions: 24

Compression:

Stored size: 266 Bytes

Contents

require 'dragonfly/cookie_monster'

if defined?(Rails::Railtie)
  module Dragonfly
    class Railtie < ::Rails::Railtie
      initializer "dragonfly.railtie.initializer" do |app|
        app.middleware.insert 3, Dragonfly::CookieMonster
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
dragonfly-1.4.1 lib/dragonfly/railtie.rb
dragonfly-1.4.0 lib/dragonfly/railtie.rb
dragonfly-1.3.0 lib/dragonfly/railtie.rb
dragonfly-1.2.1 lib/dragonfly/railtie.rb
dragonfly-1.2.0 lib/dragonfly/railtie.rb
dragonfly-1.1.5 lib/dragonfly/railtie.rb
dragonfly-1.1.4 lib/dragonfly/railtie.rb
dragonfly-1.1.3 lib/dragonfly/railtie.rb
dragonfly-1.1.2 lib/dragonfly/railtie.rb
dragonfly-1.1.1 lib/dragonfly/railtie.rb
dragonfly-1.1.0 lib/dragonfly/railtie.rb
dragonfly-1.0.12 lib/dragonfly/railtie.rb
dragonfly-1.0.11 lib/dragonfly/railtie.rb
dragonfly-1.0.10 lib/dragonfly/railtie.rb
dragonfly-1.0.9 lib/dragonfly/railtie.rb
dragonfly-1.0.8 lib/dragonfly/railtie.rb
dragonfly-1.0.7 lib/dragonfly/railtie.rb
dragonfly-1.0.6 lib/dragonfly/railtie.rb
dragonfly-1.0.5 lib/dragonfly/railtie.rb
dragonfly-1.0.4 lib/dragonfly/railtie.rb