diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-09-05 10:03:43 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-10-04 22:46:49 +0200 |
commit | 376a8c66c1ca8ee2a95255d21c9d55ce006ab655 (patch) | |
tree | d089b7830874490529380509caa830266c1d13e4 /app/controllers/groups_controller.rb | |
parent | 2eac1537ad907f2f7e628788cf980cb7e48d3f56 (diff) | |
download | gitlab-ce-376a8c66c1ca8ee2a95255d21c9d55ce006ab655.tar.gz |
Remove the subgroups path on a group
Diffstat (limited to 'app/controllers/groups_controller.rb')
-rw-r--r-- | app/controllers/groups_controller.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index 588995ab5a8..b8def9f5812 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -60,11 +60,7 @@ class GroupsController < Groups::ApplicationController end end - def subgroups - return not_found unless Group.supports_nested_groups? - @nested_groups = GroupsFinder.new(current_user, parent: group).execute - @nested_groups = @nested_groups.search(params[:filter_groups]) if params[:filter_groups].present? end def activity |