diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-18 14:18:50 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-18 14:18:50 +0300 |
commit | 8c7f4e9d5f36cff46365a7f8c4b9c21578c1e781 (patch) | |
tree | a77e7fe7a93de11213032ed4ab1f33a3db51b738 /config/routes.rb | |
parent | 00b35af3db1abfe813a778f643dad221aad51fca (diff) |
Add latest changes from gitlab-org/gitlab@13-1-stable-ee
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index 86f42822299..598a52cddb3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -45,12 +45,19 @@ Rails.application.routes.draw do use_doorkeeper_openid_connect # Sign up - get 'users/sign_up/welcome' => 'registrations#welcome' - patch 'users/sign_up/update_registration' => 'registrations#update_registration' + scope path: '/users/sign_up', module: :registrations, as: :users_sign_up do + get :welcome + patch :update_registration + resource :experience_level, only: [:show, :update] + + Gitlab.ee do + resources :groups, only: [:new, :create] + resources :projects, only: [:new, :create] + end + end # Search get 'search' => 'search#show' - get 'search/autocomplete' => 'search#autocomplete', as: :search_autocomplete get 'search/count' => 'search#count', as: :search_count # JSON Web Token |