Commit 0f54e2ae authored by Patricio Cano's avatar Patricio Cano

Render the status message with `plain:` so that the message gets passed to the Git client.

parent 08018b7a
...@@ -157,7 +157,7 @@ class Projects::GitHttpController < Projects::ApplicationController ...@@ -157,7 +157,7 @@ class Projects::GitHttpController < Projects::ApplicationController
end end
def render_not_allowed def render_not_allowed
render json: access.to_json, status: :forbidden render plain: access.message, status: :forbidden
end end
def ci? def ci?
......
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