Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
change :mails_from preference
Browse files Browse the repository at this point in the history
  • Loading branch information
greinacker authored and radar committed Apr 18, 2012
1 parent 914f88e commit 77446ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/mailers/spree/to_friend_mailer.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class Spree::ToFriendMailer < ActionMailer::Base
default :from => Spree::Config[:mails_from]
default :from => Spree::MailMethod.current.preferred_mails_from

def mail_to_friend(object, mail)
@object = object
Expand Down

0 comments on commit 77446ba

Please sign in to comment.