Welcome to mirror list, hosted at ThFree Co, Russian Federation.

release_controller.rb « middleware « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a21d718d51c75b7cb306d4e3cccca4a613fb4b94 (plain)
1
2
3
4
5
6
7
8
9
module Gitlab
  module Middleware
    ReleaseController = Struct.new(:app) do
      def call(env)
        app.call(env).tap { env.delete('action_controller.instance') }
      end
    end
  end
end