summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorAhmad Sherif <me@ahmadsherif.com>2017-03-30 17:24:36 +0200
committerAhmad Sherif <me@ahmadsherif.com>2017-04-03 18:44:57 +0200
commit39753bfb9cdd77ed7fc1458afc202b126ea6984d (patch)
treeab3daae12f978d2dece780fac2eb0305dd035fe4 /app/controllers
parent2fceb4374141407b2f41ed7b6af5a0b6a2f9f4f1 (diff)
downloadgitlab-ce-39753bfb9cdd77ed7fc1458afc202b126ea6984d.tar.gz
Add feature flags for enabling (Upload|Receive)Pack for Gitalyfeature/add-feature-flags-for-upload-receive-pack
Closes gitaly#168
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/git_http_controller.rb2
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 278098fcc58..37f6f637ff0 100644
--- a/app/controllers/projects/git_http_controller.rb
+++ b/app/controllers/projects/git_http_controller.rb
@@ -57,7 +57,7 @@ class Projects::GitHttpController < Projects::GitHttpClientController
def render_ok
set_workhorse_internal_api_content_type
- render json: Gitlab::Workhorse.git_http_ok(repository, user)
+ render json: Gitlab::Workhorse.git_http_ok(repository, user, action_name)
end
def render_http_not_allowed