diff options
author | jessib <jessib@leap.se> | 2013-05-07 11:32:11 -0700 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-07-17 10:47:13 +0200 |
commit | a00470d0c046774edc94ef01ef9bc590e8d58ac9 (patch) | |
tree | 6745c8edb80ae2bec3ae3896ce806368dccada9d /billing/app/controllers/customers_controller.rb | |
parent | 62b32320f38627dad870c7b3157576c48674c42b (diff) |
Display 3 most recent transactions on a customer's page, with a link to all of their transactions.
Diffstat (limited to 'billing/app/controllers/customers_controller.rb')
-rw-r--r-- | billing/app/controllers/customers_controller.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/billing/app/controllers/customers_controller.rb b/billing/app/controllers/customers_controller.rb index b0184af..2532334 100644 --- a/billing/app/controllers/customers_controller.rb +++ b/billing/app/controllers/customers_controller.rb @@ -5,12 +5,6 @@ class CustomersController < BillingBaseController def show @active_subscription = @customer.subscriptions(@braintree_data) - # UGLY Braintree::ResourceCollection to array. - # might want method - @transactions = [] - @braintree_data.transactions.each do |transaction| - @transactions << transaction - end end def new |