Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/project.rb')
-rw-r--r--config/routes/project.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 29e462f904d..14caae35a83 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -1,5 +1,11 @@
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'