summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-07-14 15:20:38 -0700
committerStan Hu <stanhu@gmail.com>2015-07-17 06:54:32 -0700
commitdf2bb60f90315a77718b9122e9d06f5655750640 (patch)
treea076cbfdb4f7583cc955af5dbba97a4ecd2205b3 /config
parentc4c41007adf5e3950f8991d4503b699d1e078705 (diff)
downloadgitlab-ce-df2bb60f90315a77718b9122e9d06f5655750640.tar.gz
Add support for destroying project milestones
Closes https://github.com/gitlabhq/gitlabhq/issues/1504
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 055d59a0c93..2e16c3ecb39 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -481,7 +481,7 @@ Gitlab::Application.routes.draw do
end
end
- resources :milestones, except: [:destroy], constraints: { id: /\d+/ } do
+ resources :milestones, constraints: { id: /\d+/ } do
member do
put :sort_issues
put :sort_merge_requests