diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-28 18:08:35 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-28 18:08:35 +0000 |
commit | 6315ed9630fb1c6ade3114beb762cd1568d79219 (patch) | |
tree | 2a5d31936d09c14420c8f4c8bd752e268f0eb19f /config/routes.rb | |
parent | fedf978f9aa1909ed7bb3fad767ad120a1c6bd7b (diff) | |
download | gitlab-ce-6315ed9630fb1c6ade3114beb762cd1568d79219.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/config/routes.rb b/config/routes.rb index 518cf985718..be0ef0106f4 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -120,9 +120,7 @@ Rails.application.routes.draw do draw :country draw :country_state draw :subscription - end - Gitlab.ee do constraints(-> (*) { Gitlab::Analytics.any_features_enabled? }) do draw :analytics end @@ -168,11 +166,6 @@ Rails.application.routes.draw do end end - draw :api - draw :sidekiq - draw :help - draw :snippets - # Invites resources :invites, only: [:show], constraints: { id: /[A-Za-z0-9_-]+/ } do member do @@ -193,6 +186,25 @@ Rails.application.routes.draw do # Notification settings resources :notification_settings, only: [:create, :update] + resources :groups, only: [:index, :new, :create] do + post :preview_markdown + end + + resources :projects, only: [:index, :new, :create] + + get '/projects/:id' => 'projects#resolve' + + Gitlab.ee do + scope '/-/push_from_secondary/:geo_node_id' do + draw :git_http + end + end + + draw :git_http + draw :api + draw :sidekiq + draw :help + draw :snippets draw :google_api draw :import draw :uploads |