add content_type config parameter

Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
Glenn Roberts
2010-02-17 19:24:42 +02:00
committed by José Valim
parent 187ef5c452
commit b0ff0d46dd
4 changed files with 11 additions and 3 deletions

View File

@@ -144,7 +144,11 @@ module Devise
# Address which sends Devise e-mails.
mattr_accessor :mailer_sender
@@mailer_sender = nil
@@mailer_sender = nil
# Content Type of Devise e-mails.
mattr_accessor :mailer_content_type
@@mailer_content_type = 'text/html'
# Authentication token params key name of choice. E.g. /users/sign_in?some_key=...
mattr_accessor :token_authentication_key