summaryrefslogtreecommitdiff
path: root/app/services/emails/base_service.rb
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2017-09-20 12:00:33 +0200
committerJames Lopez <james@jameslopez.es>2017-09-28 08:46:39 +0200
commit7188975cb54a2b6902544340a91f94aa1fa82d3c (patch)
tree1875e2d2aa970686280f7e40d67a21dd7dd76f1e /app/services/emails/base_service.rb
parent9621dd0c9d31508bdac2e2e226537302b560ef10 (diff)
downloadgitlab-ce-7188975cb54a2b6902544340a91f94aa1fa82d3c.tar.gz
update initializers
Diffstat (limited to 'app/services/emails/base_service.rb')
-rw-r--r--app/services/emails/base_service.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/emails/base_service.rb b/app/services/emails/base_service.rb
index ace49889097..8810f6d8803 100644
--- a/app/services/emails/base_service.rb
+++ b/app/services/emails/base_service.rb
@@ -1,6 +1,7 @@
module Emails
class BaseService
- def initialize(user, opts)
+ def initialize(current_user, user, opts)
+ @current_user = current_user
@user = user
@email = opts[:email]
end