Commit bd238bbeba6c2252356cd88c6dfae3eb2747de2d

Authored by Rodrigo Souto
1 parent c22914e7

rails3: minor syntax fix on mailing

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/mailers/mailing.rb
@@ -55,7 +55,7 @@ class Mailing < ActiveRecord::Base @@ -55,7 +55,7 @@ class Mailing < ActiveRecord::Base
55 @url = mailing.url 55 @url = mailing.url
56 mail( 56 mail(
57 :content_type => 'text/html', 57 :content_type => 'text/html',
58 - :recipients => recipient, 58 + :to => recipient,
59 :from => mailing.generate_from, 59 :from => mailing.generate_from,
60 :reply_to => mailing.person.email, 60 :reply_to => mailing.person.email,
61 :subject => mailing.generate_subject 61 :subject => mailing.generate_subject