diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-03-03 18:19:37 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-03-03 18:19:37 +0300 |
commit | fbc3cb69c327e52a002c7909c257c43c9a2f5ba5 (patch) | |
tree | 7a42aac8eb05242dde9cf529f5537a4aa91d3703 /config | |
parent | 2f4656b5c7e2a9b351237432e76a7b928a1684b1 (diff) |
Add dashboard milestones.
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 63299176932..5348c86ea9d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -220,6 +220,10 @@ Gitlab::Application.routes.draw do get :issues get :merge_requests end + + scope module: :dashboard do + resources :milestones, only: [:index, :show] + end end # @@ -236,7 +240,7 @@ Gitlab::Application.routes.draw do scope module: :groups do resources :group_members, only: [:create, :update, :destroy] resource :avatar, only: [:destroy] - resources :milestones + resources :milestones, only: [:index, :show, :update] end end |