app/mailers/rooler/delivery_mailer.rb in rooler-0.0.1 vs app/mailers/rooler/delivery_mailer.rb in rooler-0.0.2
- old
+ new
@@ -1,8 +1,10 @@
module Rooler
class DeliveryMailer < ActionMailer::Base
helper ApplicationHelper
include ApplicationHelper
+
+ default :from => 'default@myapp.com'
def send_mail(delivery, to_email = nil)
template = delivery.template
deliverable = delivery.deliverable