diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-02-21 12:57:12 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-02-21 12:57:12 -0300 |
commit | 2ef1ea501f48e29399d94ec5843984e4f7014b99 (patch) | |
tree | 3304f0b8ed7fbc32a62ed11d743f631480ae10fd /config | |
parent | f37765efa237fdc26b9937bcb2128910eccbaf91 (diff) | |
download | gitlab-ce-2ef1ea501f48e29399d94ec5843984e4f7014b99.tar.gz |
Add missing route to mark all todos as donetasks
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index c228a51bed1..30681356c5f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -333,7 +333,12 @@ Rails.application.routes.draw do resources :groups, only: [:index] resources :snippets, only: [:index] - resources :todos, only: [:index, :destroy] + + resources :todos, only: [:index, :destroy] do + collection do + delete :destroy_all + end + end resources :projects, only: [:index] do collection do |