Sha256: b089f7f42b6a86a4ead1f445809d1e2c4e33a9cfce68b4f51a3b616052735c21

Contents?: true

Size: 218 Bytes

Versions: 2

Compression:

Stored size: 218 Bytes

Contents

module SuckerPunch
  class Railtie < ::Rails::Railtie
    initializer "sucker_punch.logger" do
      SuckerPunch.logger = Rails.logger
    end

    config.to_prepare do
      SuckerPunch.clear_queues
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sucker_punch-1.5.1 lib/sucker_punch/railtie.rb
sucker_punch-1.5.0 lib/sucker_punch/railtie.rb