summaryrefslogtreecommitdiff
path: root/app/models/concerns/access_requestable.rb
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-02-16 15:10:22 +0100
committerRémy Coutable <remy@rymai.me>2018-02-27 16:02:22 +0100
commit1c88d92b3fe174a56080575a14d6b473f17f7d8f (patch)
tree7150c48b368e82d70f6bfc228c3d836c7be7c3ac /app/models/concerns/access_requestable.rb
parente82f629be4b9c91e2611095cd4296e487ed137ef (diff)
downloadgitlab-ce-1c88d92b3fe174a56080575a14d6b473f17f7d8f.tar.gz
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/models/concerns/access_requestable.rb')
-rw-r--r--app/models/concerns/access_requestable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/access_requestable.rb b/app/models/concerns/access_requestable.rb
index 62bc6b809f4..d502e7e54c6 100644
--- a/app/models/concerns/access_requestable.rb
+++ b/app/models/concerns/access_requestable.rb
@@ -8,6 +8,6 @@ module AccessRequestable
extend ActiveSupport::Concern
def request_access(user)
- Members::RequestAccessService.new(self, user).execute
+ Members::RequestAccessService.new(user).execute(self)
end
end