Sha256: 56720af355d1f42ca963ec65842958e4f5c16b17085677889ed2445d65399d24

Contents?: true

Size: 244 Bytes

Versions: 1

Compression:

Stored size: 244 Bytes

Contents

module DisableAssetLogging
  class Railtie < Rails::Railtie
    initializer "disable asset logging" do |app|
      app.middleware.insert_before ::Rails::Rack::Logger, DisableAssetLogging::Middleware if ::Rails.env.development?
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
disable_asset_logging-1.0.0 lib/disable_asset_logging/railtie.rb