diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/group.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb index 7bb9aa50875..4838c9d91c6 100644 --- a/config/routes/group.rb +++ b/config/routes/group.rb @@ -29,10 +29,6 @@ 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 + resources :labels, except: [:show], constraints: { id: /\d+/ } end end |