diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-09-19 16:49:08 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-19 14:57:15 -0200 |
commit | 52e0c3b565b7b177abbf8ea3bc573651060179a2 (patch) | |
tree | 1cd659377de0a28c7dc5afee456a1b9bb9849d7b /config | |
parent | d820c090ec85f8118e4cea75bd63d800e812ea25 (diff) | |
download | gitlab-ce-52e0c3b565b7b177abbf8ea3bc573651060179a2.tar.gz |
Add CRUD for Group Labels
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/group.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb index 06b464d79c8..7bb9aa50875 100644 --- a/config/routes/group.rb +++ b/config/routes/group.rb @@ -28,5 +28,11 @@ resources :groups, constraints: { id: /[a-zA-Z.0-9_\-]+(?<!\.atom)/ } do resource :avatar, only: [:destroy] resources :milestones, constraints: { id: /[^\/]+/ }, only: [:index, :show, :update, :new, :create] + + resources :labels, except: [:show], constraints: { id: /\d+/ } do + member do + post :toggle_subscription + end + end end end |