#328: add ActivityFeedsHelper into UserMailer

This commit is contained in:
Vokhmin Alexey V 2013-11-26 21:41:59 +04:00
parent 387f2136dc
commit 1f615cb620
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
# -*- encoding : utf-8 -*-
class UserMailer < ActionMailer::Base
add_template_helper ActivityFeedsHelper
default :from => "\"#{APP_CONFIG['project_name']}\" <#{APP_CONFIG['do-not-reply-email']}>"
default_url_options.merge!(:protocol => 'https') if APP_CONFIG['mailer_https_url']