From 87dc4f9d11af4610f534d57d5e51fabca9bb328a Mon Sep 17 00:00:00 2001 From: jessib Date: Mon, 10 Jun 2013 10:25:37 -0700 Subject: Back to singular-customer controller, in hopes that would help some confusions. --- billing/app/views/payments/confirm.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'billing/app/views/payments') 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 -- cgit v1.2.3