Commit 188a57f9 authored by GitLab Bot's avatar GitLab Bot

Add latest changes from gitlab-org/gitlab@master

parent 40d3d574
resources :projects, only: [:index, :new, :create]
Gitlab.ee do
scope "/-/push_from_secondary/:geo_node_id" do
draw :git_http
end
end
draw :git_http
get '/projects/:id' => 'projects#resolve'
......
......@@ -22,6 +22,10 @@ module API
# easily.
project.http_url_to_repo
end
def ee_post_receive_response_hook(response)
# Hook for EE to add messages
end
end
namespace 'internal' do
......@@ -265,6 +269,8 @@ module API
response.add_basic_message(project_created_message)
end
ee_post_receive_response_hook(response)
present response, with: Entities::InternalPostReceive::Response
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