summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-09-15 23:27:01 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-09-15 23:27:01 +0200
commitac6412d0766fbc090a3aa8272cfd4cc2d9a26c16 (patch)
treed4b9807175add474e6a98f6b5d5676d13d66df0a /app
parent5f45ddc54577fb65db00636a05408b00636544f5 (diff)
downloadgitlab-ce-ac6412d0766fbc090a3aa8272cfd4cc2d9a26c16.tar.gz
Added builds_spec and git_http_specs
Diffstat (limited to 'app')
-rw-r--r--app/controllers/projects/git_http_client_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/git_http_client_controller.rb b/app/controllers/projects/git_http_client_controller.rb
index 14e83ddda04..d92d28b7e02 100644
--- a/app/controllers/projects/git_http_client_controller.rb
+++ b/app/controllers/projects/git_http_client_controller.rb
@@ -117,7 +117,7 @@ class Projects::GitHttpClientController < Projects::ApplicationController
case auth_result.type
when :ci
- if download_request?
+ if auth_result.project == project && download_request?
@ci = true
else
return false