Commit 9e41a571 authored by Kushal Pandya's avatar Kushal Pandya Committed by Jarka Kadlecová

Fix rubocop offence `Layout/ClosingParenthesisIndentation`

parent 1c146a1c
......@@ -87,7 +87,8 @@ class Group < Namespace
end
def public_or_visible_to_user(user)
where('id IN (?) OR namespaces.visibility_level IN (?)',
where(
'id IN (?) OR namespaces.visibility_level IN (?)',
user.authorized_groups.select(:id),
Gitlab::VisibilityLevel.levels_for_user(user)
)
......
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