Skip to content
Browse files

Fixes issue 82 pending test apparatus fix and test passage

  • Loading branch information...
1 parent 51566ca commit 368566f7128100f34ef79417ff5fa6602f2003d1 @robyurkowski robyurkowski committed May 23, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 app/mailers/refinery/inquiries/inquiry_mailer.rb
  2. +1 −1 app/models/refinery/inquiries/setting.rb
View
2 app/mailers/refinery/inquiries/inquiry_mailer.rb
@@ -12,7 +12,7 @@ def confirmation(inquiry, request)
def notification(inquiry, request)
@inquiry = inquiry
- mail :subject => Refinery::Inquiries::Setting.notification_subject,
+ mail :subject => Refinery::Inquiries::Setting.notification_subject % @inquiry.name,
:to => Refinery::Inquiries::Setting.notification_recipients,
:from => "\"#{Refinery::Core.site_name}\" <no-reply@#{request.domain}>",
:reply_to => inquiry.email
View
2 app/models/refinery/inquiries/setting.rb
@@ -48,7 +48,7 @@ def notification_recipients
def notification_subject
Refinery::Setting.find_or_set(:inquiry_notification_subject,
- "New inquiry from your website",
+ "[#{request.domain}] New inquiry from %s",
:scoping => "inquiries")
end

0 comments on commit 368566f

Please sign in to comment.
Something went wrong with that request. Please try again.