diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-09-05 17:57:46 +0300 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-10-04 23:46:49 +0300 |
commit | 80780018a931ce41047ab62ed7dd6c5f1e28f08b (patch) | |
tree | 2025c03c20806078d8cd0006a4b1084f53b0630a /config | |
parent | 648c082a23f51bdf7151b6c5f716e74c4fe6a5bd (diff) |
Update `children` route to handle projects and groups
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/group.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb index e71a3c3b190..0f0ece61a38 100644 --- a/config/routes/group.rb +++ b/config/routes/group.rb @@ -41,6 +41,9 @@ scope(path: 'groups/*id', get :merge_requests, as: :merge_requests_group get :projects, as: :projects_group get :activity, as: :activity_group + scope(path: '-') do + get :children, as: :group_children + end get '/', action: :show, as: :group_canonical end |