#328: add ActivityFeedsHelper into UserMailer
This commit is contained in:
parent
387f2136dc
commit
1f615cb620
|
@ -1,6 +1,8 @@
|
||||||
# -*- encoding : utf-8 -*-
|
# -*- encoding : utf-8 -*-
|
||||||
|
|
||||||
class UserMailer < ActionMailer::Base
|
class UserMailer < ActionMailer::Base
|
||||||
|
add_template_helper ActivityFeedsHelper
|
||||||
|
|
||||||
default :from => "\"#{APP_CONFIG['project_name']}\" <#{APP_CONFIG['do-not-reply-email']}>"
|
default :from => "\"#{APP_CONFIG['project_name']}\" <#{APP_CONFIG['do-not-reply-email']}>"
|
||||||
default_url_options.merge!(:protocol => 'https') if APP_CONFIG['mailer_https_url']
|
default_url_options.merge!(:protocol => 'https') if APP_CONFIG['mailer_https_url']
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue