diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2012-01-02 14:26:05 +0200 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2012-01-02 14:26:05 +0200 |
commit | 223a71930007315a795f8d42de95e451480e1263 (patch) | |
tree | 2cc3b6146c362c4f39f38f8591bd35799281ad42 /app/mailers/refinery | |
parent | fd0521bb993d534aa82ff8c2190b4370d2148f63 (diff) | |
download | refinerycms-blog-223a71930007315a795f8d42de95e451480e1263.tar.gz refinerycms-blog-223a71930007315a795f8d42de95e451480e1263.tar.bz2 refinerycms-blog-223a71930007315a795f8d42de95e451480e1263.zip |
Use Refinery::Core.config to get site name.
Diffstat (limited to 'app/mailers/refinery')
-rw-r--r-- | app/mailers/refinery/blog/comment_mailer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/refinery/blog/comment_mailer.rb b/app/mailers/refinery/blog/comment_mailer.rb index 935ccf7..6f17f81 100644 --- a/app/mailers/refinery/blog/comment_mailer.rb +++ b/app/mailers/refinery/blog/comment_mailer.rb @@ -6,7 +6,7 @@ module Refinery @blog_comment = comment mail :subject => Blog::Comment::Notification.subject, :recipients => Blog::Comment::Notification.recipients, - :from => "\"#{RefinerySetting[:site_name]}\" <no-reply@#{request.domain(RefinerySetting.find_or_set(:tld_length, 1))}>" + :from => "\"#{Refinery::Core.config.site_name}\" <no-reply@#{request.domain}>" end end |