diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-18 11:17:02 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-18 11:17:02 +0300 |
commit | b39512ed755239198a9c294b6a45e65c05900235 (patch) | |
tree | d234a3efade1de67c46b9e5a38ce813627726aa7 /config/routes.rb | |
parent | d31474cf3b17ece37939d20082b07f6657cc79a9 (diff) |
Add latest changes from gitlab-org/gitlab@15-3-stable-eev15.3.0-rc42
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/config/routes.rb b/config/routes.rb index dd3095f0a8d..ddc7b77460c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -25,10 +25,10 @@ InitializerConnections.with_disabled_database_connections do use_doorkeeper do controllers applications: 'oauth/applications', - authorized_applications: 'oauth/authorized_applications', - authorizations: 'oauth/authorizations', - token_info: 'oauth/token_info', - tokens: 'oauth/tokens' + authorized_applications: 'oauth/authorized_applications', + authorizations: 'oauth/authorizations', + token_info: 'oauth/token_info', + tokens: 'oauth/tokens' end # This prefixless path is required because Jira gets confused if we set it up with a path @@ -88,6 +88,10 @@ InitializerConnections.with_disabled_database_connections do get 'search/count' => 'search#count', as: :search_count get 'search/opensearch' => 'search#opensearch', as: :search_opensearch + Gitlab.ee do + get 'search/aggregations' => 'search#aggregations', as: :search_aggregations + end + # JSON Web Token get 'jwt/auth' => 'jwt#auth' |