app/mailers/piggybak/notifier.rb in piggybak-0.3.1 vs app/mailers/piggybak/notifier.rb in piggybak-0.3.2
- old
+ new
@@ -1,6 +1,8 @@
module Piggybak
class Notifier < ActionMailer::Base
+ default :from => Piggybak.config.email_sender
+
def order_notification(order)
@order = order
mail(:to => order.email,
:subject => "Order ##{@order.id}")