mirror of
https://github.com/heartcombo/devise.git
synced 2026-04-28 03:00:29 -04:00
add content_type config parameter
Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
committed by
José Valim
parent
187ef5c452
commit
b0ff0d46dd
@@ -27,7 +27,7 @@ class DeviseMailer < ::ActionMailer::Base
|
||||
from mailer_sender(mapping)
|
||||
recipients record.email
|
||||
sent_on Time.now
|
||||
content_type 'text/html'
|
||||
content_type Devise.mailer_content_type
|
||||
body render_with_scope(key, mapping, mapping.name => record, :resource => record)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user