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.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb
index da205163e6d..c313f7209fb 100644
--- a/config/routes/group.rb
+++ b/config/routes/group.rb
@@ -43,6 +43,12 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
post :create_deploy_token, path: 'deploy_token/create'
end
+ resources :access_tokens, only: [:index, :create] do
+ member do
+ put :revoke
+ end
+ end
+
resources :integrations, only: [:index, :edit, :update] do
member do
put :test
@@ -64,7 +70,7 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
post :toggle_subscription, on: :member
end
- resources :packages, only: [:index]
+ resources :packages, only: [:index, :show]
resources :milestones, constraints: { id: %r{[^/]+} } do
member do