diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-07-16 11:51:20 +0400 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-07-16 11:51:20 +0400 |
commit | 8968f6d874171edc4a95027ac25d2cf83e8b7858 (patch) | |
tree | 99edb981639f8ccc5fb5b75f49967c1740bfcf66 /app/mailers/emails | |
parent | 44b819833407b81fd97873bebffc939c23294595 (diff) |
Update specs.
Diffstat (limited to 'app/mailers/emails')
-rw-r--r-- | app/mailers/emails/profile.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/emails/profile.rb b/app/mailers/emails/profile.rb index 4498b30691f..f8a7d133d1d 100644 --- a/app/mailers/emails/profile.rb +++ b/app/mailers/emails/profile.rb @@ -1,6 +1,6 @@ module Emails module Profile - def new_user_email(user_id, password, token) + def new_user_email(user_id, password, token = nil) @user = User.find(user_id) @password = password @target_url = user_url(@user) |