diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-10-11 18:27:53 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-10-12 11:36:55 +0200 |
commit | 2c25a7ae3453e72ad6cab504255e327c17df0a95 (patch) | |
tree | 73b9299225b80b728f5aaa58d8964bd00643dfdd /config/routes | |
parent | d8e504a8f790f032f5d7757c6d61093faa7a2542 (diff) | |
download | gitlab-ce-2c25a7ae3453e72ad6cab504255e327c17df0a95.tar.gz |
Nest the group_children_path inside the canonical group path
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/group.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb index 514f756a45f..2f5de5bed5a 100644 --- a/config/routes/group.rb +++ b/config/routes/group.rb @@ -30,6 +30,8 @@ scope(path: 'groups/*group_id', end resources :variables, only: [:index, :show, :update, :create, :destroy] + + resources :children, only: [:index] end end @@ -53,9 +55,5 @@ constraints(GroupUrlConstrainer.new) do patch '/', action: :update put '/', action: :update delete '/', action: :destroy - - scope(path: '-') do - get :children - end end end |