diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-20 13:00:54 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-20 13:00:54 +0300 |
commit | 3cccd102ba543e02725d247893729e5c73b38295 (patch) | |
tree | f36a04ec38517f5deaaacb5acc7d949688d1e187 /config/routes.rb | |
parent | 205943281328046ef7b4528031b90fbda70c75ac (diff) |
Add latest changes from gitlab-org/gitlab@14-10-stable-eev14.10.0-rc42
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index 9342de492ec..41f06a412a3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -32,7 +32,7 @@ Rails.application.routes.draw do # This prefixless path is required because Jira gets confused if we set it up with a path # More information: https://gitlab.com/gitlab-org/gitlab/issues/6752 - scope path: '/login/oauth', controller: 'oauth/jira/authorizations', as: :oauth_jira do + scope path: '/login/oauth', controller: 'oauth/jira_dvcs/authorizations', as: :oauth_jira_dvcs do get :authorize, action: :new get :callback post :access_token @@ -66,6 +66,7 @@ Rails.application.routes.draw do end Gitlab.ee do + resource :company, only: [:new, :create], controller: 'company' resources :groups, only: [:new, :create] resources :projects, only: [:new, :create] resources :groups_projects, only: [:new, :create] do @@ -236,6 +237,7 @@ Rails.application.routes.draw do resources :clusters, only: [:index, :new, :show, :update, :destroy] do collection do get :connect + get :new_cluster_docs post :create_user post :create_gcp post :create_aws @@ -323,7 +325,7 @@ Rails.application.routes.draw do root to: "root#index" - get '*unmatched_route', to: 'application#route_not_found' + get '*unmatched_route', to: 'application#route_not_found', format: false end Gitlab::Routing.add_helpers(TimeboxesRoutingHelper) |