summaryrefslogtreecommitdiff
path: root/app/finders
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2016-03-16 19:44:33 -0300
committerFelipe Artur <felipefac@gmail.com>2016-03-16 19:44:33 -0300
commitec20fdf366843e60ed30abb5322c3c1b8f471b4a (patch)
treefd33118e0af74924bcb20a1696d91f85f6cd463c /app/finders
parentde251bcf6d0f1db8858fa38ac14e108c1b9ea00f (diff)
downloadgitlab-ce-ec20fdf366843e60ed30abb5322c3c1b8f471b4a.tar.gz
Code improvements and add Create group service
Diffstat (limited to 'app/finders')
-rw-r--r--app/finders/joined_groups_finder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/joined_groups_finder.rb b/app/finders/joined_groups_finder.rb
index 131b518563e..fbdf492c965 100644
--- a/app/finders/joined_groups_finder.rb
+++ b/app/finders/joined_groups_finder.rb
@@ -1,6 +1,6 @@
#Shows only authorized groups of a user
class JoinedGroupsFinder
- def initialize(user = nil)
+ def initialize(user)
@user = user
end