Sha256: 2c00b7477b326fa837e318dacc8e25b1a3ca3ab81df472e7cf04e34d646eb872

Contents?: true

Size: 246 Bytes

Versions: 21

Compression:

Stored size: 246 Bytes

Contents

# frozen_string_literal: true

module NeetoCommonsBackend
  module Initializers
    class << self
      def rack_deflater
        Rails.application.config.middleware.insert_after ActionDispatch::Static, Rack::Deflater
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
neeto-commons-backend-1.0.89 lib/neeto_commons_backend/initializers/rack_deflater.rb