diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-09-19 11:15:57 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-10-04 22:49:41 +0200 |
commit | 31f775689396722e38de20157b46a75b1fe40582 (patch) | |
tree | a91dfc0f12c5ac8b844094957519b131967d33f2 /app/finders | |
parent | e3daa73fbfce6f178de512aeb165072f1ffde503 (diff) | |
download | gitlab-ce-31f775689396722e38de20157b46a75b1fe40582.tar.gz |
`current_user:` as a keyword argument
Diffstat (limited to 'app/finders')
-rw-r--r-- | app/finders/group_children_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/group_children_finder.rb b/app/finders/group_children_finder.rb index 430373a92a2..93a218ee5b3 100644 --- a/app/finders/group_children_finder.rb +++ b/app/finders/group_children_finder.rb @@ -3,7 +3,7 @@ class GroupChildrenFinder attr_reader :current_user, :parent_group, :params - def initialize(current_user = nil, parent_group:, params: {}) + def initialize(current_user: nil, parent_group:, params: {}) @current_user = current_user @parent_group = parent_group @params = params |