summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2016-08-09 12:35:36 +0200
committerJacob Vosmaer <jacob@gitlab.com>2016-08-09 12:35:36 +0200
commit7dff0946a7ea8c47cf531067ac752cf900927c44 (patch)
treecf5b83d76fb6b61097ffd6ee70884943c0a06e98
parent7a99826694ccc9dc5fd5f8cbecf7b51f8d690de4 (diff)
downloadgitlab-ce-7dff0946a7ea8c47cf531067ac752cf900927c44.tar.gz
Remove duplicate method reintroduced by merge
-rw-r--r--app/controllers/projects/git_http_controller.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/projects/git_http_controller.rb b/app/controllers/projects/git_http_controller.rb
index a10dca6afaf..b4373ef89ef 100644
--- a/app/controllers/projects/git_http_controller.rb
+++ b/app/controllers/projects/git_http_controller.rb
@@ -59,10 +59,6 @@ class Projects::GitHttpController < Projects::GitHttpClientController
render json: Gitlab::Workhorse.git_http_ok(repository, user)
end
- def render_not_found
- render plain: 'Not Found', status: :not_found
- end
-
def render_http_not_allowed
render plain: access_check.message, status: :forbidden
end