Commit 7dff0946 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Remove duplicate method reintroduced by merge

parent 7a998266
...@@ -59,10 +59,6 @@ class Projects::GitHttpController < Projects::GitHttpClientController ...@@ -59,10 +59,6 @@ class Projects::GitHttpController < Projects::GitHttpClientController
render json: Gitlab::Workhorse.git_http_ok(repository, user) render json: Gitlab::Workhorse.git_http_ok(repository, user)
end end
def render_not_found
render plain: 'Not Found', status: :not_found
end
def render_http_not_allowed def render_http_not_allowed
render plain: access_check.message, status: :forbidden render plain: access_check.message, status: :forbidden
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment