diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-28 21:09:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-28 21:09:07 +0300 |
commit | 1c8fa70f9d0818e2a82089c8643a6e455bca47fd (patch) | |
tree | f339f97de0425270bdd909e2f4d378927b6e0a18 /config/routes/group.rb | |
parent | 736d36d8597d0d1ec1b47644e6d091c3f4a78f45 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/routes/group.rb')
-rw-r--r-- | config/routes/group.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb index 68e239faf6d..1d51b3fb6fe 100644 --- a/config/routes/group.rb +++ b/config/routes/group.rb @@ -29,6 +29,7 @@ constraints(::Constraints::GroupUrlConstrainer.new) do resource :ci_cd, only: [:show, :update], controller: 'ci_cd' do put :reset_registration_token patch :update_auto_devops + post :create_deploy_token, path: 'deploy_token/create' end end @@ -49,6 +50,12 @@ constraints(::Constraints::GroupUrlConstrainer.new) do end end + resources :deploy_tokens, constraints: { id: /\d+/ }, only: [] do + member do + put :revoke + end + end + resource :avatar, only: [:destroy] concerns :clusterable |