Permalink
Browse files

minor tweaks

  • Loading branch information...
1 parent a2a5d17 commit c3c2a532ab6ff7637141238666c0ce88f8238652 erik committed Jun 23, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −0 app/controllers/api/donations_controller.rb
  2. +1 −1 app/controllers/api/users_controller.rb
@@ -34,6 +34,7 @@ def card
if purchase.save
arr[:success] = "Congratulations! You have donated to the pitch"
arr[:id] = d.id
+ arr[:donation] = { :amount => donation_amount, :processing_fee => spotus_amount, :total_amount => donation_amount * (1+SpotusDonation::SPOTUS_TITHE) }
else
arr[:errors] = purchase.errors.full_messages
end
@@ -35,5 +35,5 @@ def create
return
end
end
-
+ov
end

0 comments on commit c3c2a53

Please sign in to comment.