summaryrefslogtreecommitdiff
path: root/billing/app/controllers/customers_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'billing/app/controllers/customers_controller.rb')
-rw-r--r--billing/app/controllers/customers_controller.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/billing/app/controllers/customers_controller.rb b/billing/app/controllers/customers_controller.rb
index 3479448..b0184af 100644
--- a/billing/app/controllers/customers_controller.rb
+++ b/billing/app/controllers/customers_controller.rb
@@ -4,8 +4,7 @@ class CustomersController < BillingBaseController
def show
- @subscriptions = @customer.active_subscriptions(@braintree_data)
-
+ @active_subscription = @customer.subscriptions(@braintree_data)
# UGLY Braintree::ResourceCollection to array.
# might want method
@transactions = []