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