diff options
author | Alejandro RodrÃguez <alejorro70@gmail.com> | 2017-05-03 18:07:54 -0300 |
---|---|---|
committer | Alejandro RodrÃguez <alejorro70@gmail.com> | 2017-05-05 10:52:06 -0300 |
commit | 8bc381db90c92bca6ba868d1588af1ad1a41073b (patch) | |
tree | e10f3f04f40493315b02938b7a7726537072b968 /app/controllers/projects/git_http_controller.rb | |
parent | 5249157552bbf4cbf279b1decbd4a0e90e056077 (diff) | |
download | gitlab-ce-8bc381db90c92bca6ba868d1588af1ad1a41073b.tar.gz |
Pass GL_REPOSITORY in Workhorse responses29925-gitlab-shell-hooks-can-no-longer-send-absolute-paths-to-gitlab-ce
Diffstat (limited to 'app/controllers/projects/git_http_controller.rb')
-rw-r--r-- | app/controllers/projects/git_http_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/git_http_controller.rb b/app/controllers/projects/git_http_controller.rb index 10adddb4636..9e4edcae101 100644 --- a/app/controllers/projects/git_http_controller.rb +++ b/app/controllers/projects/git_http_controller.rb @@ -59,7 +59,7 @@ class Projects::GitHttpController < Projects::GitHttpClientController def render_ok set_workhorse_internal_api_content_type - render json: Gitlab::Workhorse.git_http_ok(repository, user, action_name) + render json: Gitlab::Workhorse.git_http_ok(repository, wiki?, user, action_name) end def render_http_not_allowed |