From 1f615cb620480184a6b7486fded6a5b6f8912a18 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Tue, 26 Nov 2013 21:41:59 +0400 Subject: [PATCH] #328: add ActivityFeedsHelper into UserMailer --- app/mailers/user_mailer.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb index dcdcfc3e4..f936f2cba 100644 --- a/app/mailers/user_mailer.rb +++ b/app/mailers/user_mailer.rb @@ -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']