Commit 7188975c authored by James Lopez's avatar James Lopez

update initializers

parent 9621dd0c
module Emails
class BaseService
def initialize(user, opts)
def initialize(current_user, user, opts)
@current_user = current_user
@user = user
@email = opts[:email]
end
......
......@@ -2,7 +2,8 @@ module Users
class UpdateService < BaseService
include NewUserNotifier
def initialize(user, params = {})
def initialize(current_user, user, params = {})
@current_user = current_user
@user = user
@params = params.dup
end
......
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