Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Commit

Permalink
Fix missing fields in admin email titles
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Harris committed Oct 26, 2016
1 parent 37ba9a4 commit 2ee7e7a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/mailers/admin_mailer.rb
Expand Up @@ -9,7 +9,8 @@ def vendor_started_work(auction:)

mail(
to: ADMIN_EMAIL_ADDRESS,
subject: I18n.t('mailers.admin_mailer.vendor_started_work.subject'),
subject: I18n.t('mailers.admin_mailer.vendor_started_work.subject',
auction_name: @auction.title),
from: SMTPCredentials.default_from,
reply_to: 'micropurchase@gsa.gov'
)
Expand All @@ -23,7 +24,9 @@ def vendor_finished_work(auction:)

mail(
to: ADMIN_EMAIL_ADDRESS,
subject: I18n.t('mailers.admin_mailer.vendor_finished_work.subject'),
subject: I18n.t('mailers.admin_mailer.vendor_finished_work.subject',
winner_name: @winner_name,
auction_name: @auction.title),
from: SMTPCredentials.default_from,
reply_to: 'micropurchase@gsa.gov'
)
Expand Down

0 comments on commit 2ee7e7a

Please sign in to comment.