summaryrefslogtreecommitdiff
path: root/config/routes/group.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/group.rb')
-rw-r--r--config/routes/group.rb13
1 files changed, 12 insertions, 1 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb
index 126680a0b44..ef31b639d33 100644
--- a/config/routes/group.rb
+++ b/config/routes/group.rb
@@ -52,7 +52,7 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
resources :applications
- resources :packages_and_registries, only: [:index]
+ resource :packages_and_registries, only: [:show]
end
resource :variables, only: [:show, :update]
@@ -114,6 +114,17 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
resources :container_registries, only: [:index, :show], controller: 'registry/repositories'
resource :dependency_proxy, only: [:show, :update]
resources :email_campaigns, only: :index
+
+ resources :autocomplete_sources, only: [] do
+ collection do
+ get 'members'
+ get 'issues'
+ get 'merge_requests'
+ get 'labels'
+ get 'commands'
+ get 'milestones'
+ end
+ end
end
scope(path: '*id',