Fix "A copy of Gitlab::Middleware::Readonly has been removed from the module tree but is still active"

Similar to #34047 and #29327
This commit is contained in:
Stan Hu 2018-03-21 21:18:11 -07:00
parent b17457a7f7
commit 72da56aaa5

View file

@ -13,7 +13,7 @@ module Gitlab
end
def call(env)
ReadOnly::Controller.new(@app, env).call
::Gitlab::Middleware::ReadOnly::Controller.new(@app, env).call
end
end
end