<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -128,7 +128,7 @@ class CartsController &lt; ApplicationController
       old_locale = I18n.locale
       I18n.locale = 'es'
       if @cart.status == Cart::STATUS[:COMPLETED]
-        SystemMailer.deliver_cart_updated_to_paid(@cart)
+        @cart.send_email_notifications
       end
       I18n.locale = old_locale
     else</diff>
      <filename>app/controllers/carts_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -43,13 +43,6 @@ class SystemMailer &lt; ActionMailer::Base
     @body[:cart]  = cart
   end
   
-  def cart_updated_to_paid( cart )
-    setup
-    @recipients   = cart.user.email
-    @subject      += I18n.t('system_mailer.cart_updated_to_paid.subject')
-    @body[:cart]  = cart
-  end
-  
   protected
   
     def setup</diff>
      <filename>app/models/system_mailer.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
 --
 &lt;%= t('system_mailer.signature.staff')%&gt;
-web: http://app.conferenciarails.org
+web: http://www.conferenciarails.org
 twitter: http://twitter.com/conferenciaror
\ No newline at end of file</diff>
      <filename>app/views/system_mailer/_signature.erb</filename>
    </modified>
    <modified>
      <diff>@@ -1,18 +1,16 @@
-We have received your payment for the events:
+Hi, &lt;% @cart.user.name %&gt;:
+
+We've received your payment for the events:
 &lt;% @cart.events.each do |event| -%&gt;
   * &lt;%= event.name %&gt;
 &lt;% end -%&gt;
 
-&lt;% if !@cart.invoice_info.blank? -%&gt;
-With this invoice info:
-
-&lt;%= @cart.invoice_info %&gt;
-&lt;% end -%&gt;
+Your purchase ID is: &lt;%= @cart.id %&gt;. Keep it for possible issues.
 
-Your purchase ID is: &lt;%= @cart.id %&gt;
+Now that your place is assured you may want to join the movement:
 
-Keep it for possible issues.
+http://tinyurl.com/holaconferenciaror
 
-Regards
+Regards,
 
 &lt;%= render :partial =&gt; 'system_mailer/signature'%&gt;
\ No newline at end of file</diff>
      <filename>app/views/system_mailer/cart_purchased_ok_to_user.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -290,8 +290,4 @@ en:
     and: &quot;and&quot;
   system_mailer:
     signature:
-      staff: &quot;Conferencia Rails 2009 staff&quot;
-    cart_updated_to_paid:
-      subject: &quot;Your bank transfer has been confirmated&quot;
-      hi: &quot;Hi {{name}}&quot;
-      body: &quot;Your bank transfer payment has been confirmed. Welcome to the Conference!\n\nSee you soon :)&quot;
\ No newline at end of file
+      staff: &quot;Conferencia Rails 2009&quot;
\ No newline at end of file</diff>
      <filename>config/locales/en.yml</filename>
    </modified>
    <modified>
      <diff>@@ -314,8 +314,4 @@ es:
     and: &quot;y&quot;
   system_mailer:
     signature:
-      staff: &quot;Organizadores Conferencia Rails 2009&quot;
-    cart_updated_to_paid:
-      subject: &quot;Tu transferencia bancaria ha sido aceptada&quot;
-      hi: &quot;Hola {{name}}&quot;
-      body: &quot;Tu pago por transferencia bancaria ha sido aceptado. !Bienvenido!\n\nNos vemos pronto :)&quot;
\ No newline at end of file
+      staff: &quot;Conferencia Rails 2009&quot;
\ No newline at end of file</diff>
      <filename>config/locales/es.yml</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>app/views/system_mailer/cart_updated_to_paid.html.erb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>9b44846513abbdcf64ed7bd30a3f3d85f2ef6a1f</id>
    </parent>
  </parents>
  <author>
    <name>Luismi Cavalle</name>
    <email>luismi@lmcavalle.com</email>
  </author>
  <url>http://github.com/fguillen/ConfRoR2009/commit/4e2c84da9dc48a184a96f6d0eb23e1793f8f79cf</url>
  <id>4e2c84da9dc48a184a96f6d0eb23e1793f8f79cf</id>
  <committed-date>2009-10-28T15:10:26-07:00</committed-date>
  <authored-date>2009-10-28T15:10:26-07:00</authored-date>
  <message>Better payment confirmation email</message>
  <tree>794f74b23c32a9fe6b89fd2360a4254351ace763</tree>
  <committer>
    <name>Luismi Cavalle</name>
    <email>luismi@lmcavalle.com</email>
  </committer>
</commit>
