diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-10 06:09:16 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-10 06:09:16 +0000 |
commit | a4f3904124120f62c8be87142de87a0ed2b7f352 (patch) | |
tree | a45913ed5dc194ed5c95b52712692fedc5bfac36 /app/serializers/group_child_entity.rb | |
parent | 8de5e388c6046487419a11cb97924a762250c427 (diff) | |
download | gitlab-ce-a4f3904124120f62c8be87142de87a0ed2b7f352.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/serializers/group_child_entity.rb')
-rw-r--r-- | app/serializers/group_child_entity.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/group_child_entity.rb b/app/serializers/group_child_entity.rb index a7fe4d3f9b9..adbda790dee 100644 --- a/app/serializers/group_child_entity.rb +++ b/app/serializers/group_child_entity.rb @@ -20,7 +20,7 @@ class GroupChildEntity < Grape::Entity # We know `type` will be one either `project` or `group`. # The `edit_polymorphic_path` helper would try to call the path helper # with a plural: `edit_groups_path(instance)` or `edit_projects_path(instance)` - # while our methods are `edit_group_path` or `edit_group_path` + # while our methods are `edit_group_path` or `edit_project_path` public_send("edit_#{type}_path", instance) # rubocop:disable GitlabSecurity/PublicSend end |