Merge pull request #659 from warpc/652-mailer_urls
[refs #652] https link in email if service use https
This commit is contained in:
commit
29ab62748d
|
@ -4,6 +4,7 @@ class FeedbackMailer < ActionMailer::Base
|
|||
default :to => FBM_CONFIG['email'],
|
||||
:cc => FBM_CONFIG['cc'],
|
||||
:bcc => FBM_CONFIG['bcc']
|
||||
default_url_options.merge!(:protocol => 'https') if APP_CONFIG['mailer_https_url']
|
||||
|
||||
include Resque::Mailer # send email async
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
class UserMailer < ActionMailer::Base
|
||||
default :from => APP_CONFIG['do-not-reply-email']
|
||||
default_url_options.merge!(:protocol => 'https') if APP_CONFIG['mailer_https_url']
|
||||
|
||||
include Resque::Mailer # send email async
|
||||
|
||||
|
|
Loading…
Reference in New Issue