mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00

Update mailer to accept reply_to as a default param as well, as discussed in https://github.com/plataformatec/devise/issues/1936#issuecomment-6583637
8 lines
No EOL
230 B
Ruby
8 lines
No EOL
230 B
Ruby
class Users::Mailer < Devise::Mailer
|
|
default :from => 'custom@example.com'
|
|
end
|
|
|
|
class Users::ReplyToMailer < Devise::Mailer
|
|
default :from => 'custom@example.com'
|
|
default :reply_to => 'custom_reply_to@example.com'
|
|
end |