diff options
author | Stan Hu <stanhu@gmail.com> | 2015-07-17 17:15:27 +0000 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-07-17 17:15:27 +0000 |
commit | a84ed6eb234c9a9f0e5e5c0deea1779d224764a8 (patch) | |
tree | 1119d7c281686c123b44a9d8a2b56e2d33e2fd0f /config | |
parent | c413a5507db2063fbb01e5a81e8c5c52889f7ffe (diff) | |
parent | df2bb60f90315a77718b9122e9d06f5655750640 (diff) | |
download | gitlab-ce-a84ed6eb234c9a9f0e5e5c0deea1779d224764a8.tar.gz |
Merge branch 'add-support-remove-milestone' into 'master'
Add support for destroying project milestones
### What does this MR do?
This MR adds a "Remove" button to the project milestones page and the milestone page itself.
### Why was this MR needed?
Because lots of people talked about needing to clean their toilets. :)
### What are the relevant issue numbers?
Closes https://github.com/gitlabhq/gitlabhq/issues/1504
### Screenshots
![image](https://gitlab.com/gitlab-org/gitlab-ce/uploads/ef8c7a3ea1db7b37cccae3869ac4de0a/image.png)
![image](https://gitlab.com/gitlab-org/gitlab-ce/uploads/33eb01c7bc30fb235de96db5efb8746d/image.png)
See merge request !980
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
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 |