Skip to content
Snippets Groups Projects

Avoid instance variable re-use trouble

Merged username-removed-5302 requested to merge grack-auth-new-instance into master
+ 9
1
Compare changes
  • Side-by-side
  • Inline
Files
+ 1
1
@@ -30,7 +30,7 @@ Gitlab::Application.routes.draw do
end
# Enable Grack support
mount Grack::Auth.new({}), at: '/', constraints: lambda { |request| /[-\/\w\.]+\.git\//.match(request.path_info) }, via: [:get, :post]
mount Grack::AuthSpawner, at: '/', constraints: lambda { |request| /[-\/\w\.]+\.git\//.match(request.path_info) }, via: [:get, :post]
# Help
get 'help' => 'help#index'
Loading