Fix for broadster

This commit is contained in:
Godwin
2015-09-25 18:44:55 -07:00
parent 3998a9ed4f
commit 34e72144cc
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ class UserMailer < ActionMailer::Base
def broadcast(host, subject, content, user, conference)
@host = host
@content = content
@banner = (@host || 'http://localhost/') + (conference ? (conference.poster.preview.url || '') : image_url('logo.png'))
#@banner = (@host || 'http://localhost/') + (conference ? (conference.poster.preview.url || '') : image_url('logo.png'))
if user && user.email
mail to: user.email, subject: "[#{conference ? conference.title : 'Bike!Bike!'}] #{subject}"
end