hana-da/rack-content_disposition_helper

View on GitHub
lib/rack/content_disposition_helper/railtie.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module Rack
  class ContentDispositionHelper
    class Railtie < ::Rails::Railtie
      initializer 'rack-content_disposition_helper.middleware_use' do |app|
        app.middleware.use Rack::ContentDispositionHelper
      end
    end
  end
end