app/mailers/tang/stripe_mailer.rb in tang-0.2.0 vs app/mailers/tang/stripe_mailer.rb in tang-0.2.1
- old
+ new
@@ -1,7 +1,7 @@
module Tang
class StripeMailer < ApplicationMailer
- add_template_helper(Tang::ApplicationHelper)
+ helper Tang::ApplicationHelper
default from: Tang.admin_email
def admin_dispute_created(charge)
@charge = charge
mail(to: Tang.admin_email, subject: "Dispute created on charge #{@charge.stripe_id}")