Skip to content
Snippets Groups Projects
Commit 188a57f9 authored by GitLab Bot's avatar GitLab Bot
Browse files

Add latest changes from gitlab-org/gitlab@master

parent 40d3d574
No related branches found
No related tags found
No related merge requests found
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'
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment