Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-07-16 11:51:20 +0400
committerMarin Jankovski <marin@gitlab.com>2014-07-16 11:51:20 +0400
commit8968f6d874171edc4a95027ac25d2cf83e8b7858 (patch)
tree99edb981639f8ccc5fb5b75f49967c1740bfcf66 /app/mailers/emails
parent44b819833407b81fd97873bebffc939c23294595 (diff)
Update specs.
Diffstat (limited to 'app/mailers/emails')
-rw-r--r--app/mailers/emails/profile.rb2
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)