summaryrefslogtreecommitdiff
path: root/app/mailers/notify.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/mailers/notify.rb')
-rw-r--r--app/mailers/notify.rb14
1 files changed, 2 insertions, 12 deletions
diff --git a/app/mailers/notify.rb b/app/mailers/notify.rb
index 7890ca7793b..2f7be00c33e 100644
--- a/app/mailers/notify.rb
+++ b/app/mailers/notify.rb
@@ -3,6 +3,8 @@ class Notify < ActionMailer::Base
include Emails::MergeRequests
include Emails::Notes
include Emails::Projects
+ include Emails::Profile
+ include Emails::Groups
add_template_helper ApplicationHelper
add_template_helper GitlabMarkdownHelper
@@ -20,18 +22,6 @@ class Notify < ActionMailer::Base
delay_for(2.seconds)
end
- def new_user_email(user_id, password)
- @user = User.find(user_id)
- @password = password
- mail(to: @user.email, subject: subject("Account was created for you"))
- end
-
- def new_ssh_key_email(key_id)
- @key = Key.find(key_id)
- @user = @key.user
- mail(to: @user.email, subject: subject("SSH key was added to your account"))
- end
-
private
# Look up a User by their ID and return their email address