gitlab-org--gitlab-foss/app/mailers/devise_mailer.rb

15 lines
414 B
Ruby
Raw Normal View History

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-03-22 22:20:47 -04:00
layout 'devise_mailer'
protected
def subject_for(key)
subject = super
2016-09-30 09:06:11 -04:00
subject << " | #{Gitlab.config.gitlab.email_subject_suffix}" if Gitlab.config.gitlab.email_subject_suffix.present?
subject
end
end