summaryrefslogtreecommitdiff
path: root/billing/app/views/payments
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-06-10 10:25:37 -0700
committerAzul <azul@leap.se>2013-07-17 10:47:14 +0200
commit87dc4f9d11af4610f534d57d5e51fabca9bb328a (patch)
treeafe5f40cc57fba1b54b539c3e8bc540bd0716241 /billing/app/views/payments
parentc4379dcfdc8b27fae15eea5c4ba15b8906e3bb76 (diff)
Back to singular-customer controller, in hopes that would help some confusions.
Diffstat (limited to 'billing/app/views/payments')
-rw-r--r--billing/app/views/payments/confirm.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/billing/app/views/payments/confirm.html.haml b/billing/app/views/payments/confirm.html.haml
index fddbc45..9479eb9 100644
--- a/billing/app/views/payments/confirm.html.haml
+++ b/billing/app/views/payments/confirm.html.haml
@@ -26,4 +26,4 @@
%td= h @result.transaction.credit_card_details.card_type
- if current_user
- customer = Customer.find_by_user_id(current_user.id)
- = link_to 'View Customer Info', customer_path(customer.braintree_customer_id), :class=> :btn \ No newline at end of file
+ = link_to 'View Customer Info', show_customer_path(customer.braintree_customer_id), :class=> :btn \ No newline at end of file