Commit 0db11607 authored by Małgorzata Ksionek's avatar Małgorzata Ksionek

Add cr remarks

parent e347c4ab
......@@ -10,7 +10,7 @@ class ForkTargetsFinder
def execute(options = {})
return ::Namespace.where(id: user.manageable_namespaces).sort_by_type unless options[:only_groups]
::Group.where(id: user.manageable_namespaces)
::Group.where(id: user.manageable_groups)
end
# rubocop: enable CodeReuse/ActiveRecord
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment