change mailer default for publish

This commit is contained in:
Tyrel Souza 2014-05-09 14:37:17 -04:00
parent ab3b6a2407
commit 445090d084

View File

@ -1,5 +1,5 @@
class VideolistingMailer < ActionMailer::Base class VideolistingMailer < ActionMailer::Base
default from: "noreply@propelmarketing.com" default from: ENV['SMTP_ADDRESS']
def videolisting_complete(videolisting) def videolisting_complete(videolisting)
@listing = videolisting @listing = videolisting