2015-09-11 14:41:01 +05:30
|
|
|
class DeviseMailer < Devise::Mailer
|
|
|
|
default from: "#{Gitlab.config.gitlab.email_display_name} <#{Gitlab.config.gitlab.email_from}>"
|
|
|
|
default reply_to: Gitlab.config.gitlab.email_reply_to
|
2016-06-16 23:09:34 +05:30
|
|
|
|
|
|
|
layout 'devise_mailer'
|
2016-11-03 12:29:30 +05:30
|
|
|
|
|
|
|
protected
|
|
|
|
|
|
|
|
def subject_for(key)
|
|
|
|
subject = super
|
|
|
|
subject << " | #{Gitlab.config.gitlab.email_subject_suffix}" if Gitlab.config.gitlab.email_subject_suffix.present?
|
|
|
|
subject
|
|
|
|
end
|
2015-09-11 14:41:01 +05:30
|
|
|
end
|