From 3578c13abd86d15ca6310bf5652f4855a8daa1a8 Mon Sep 17 00:00:00 2001 From: jessib Date: Thu, 25 Jul 2013 11:21:27 -0700 Subject: Have navigation link to new customer form if user is not already a braintree customer. --- users/app/views/overviews/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/app/views/overviews') diff --git a/users/app/views/overviews/show.html.haml b/users/app/views/overviews/show.html.haml index 4084b1f..c6b079d 100644 --- a/users/app/views/overviews/show.html.haml +++ b/users/app/views/overviews/show.html.haml @@ -19,4 +19,4 @@ %li= icon('user') + link_to(t(:overview_account), edit_user_path(@user)) %li= icon('envelope') + link_to(t(:overview_email), edit_user_email_settings_path(@user)) %li= icon('question-sign') + link_to(t(:overview_tickets), user_tickets_path(@user)) - %li= icon('shopping-cart') + link_to(t(:overview_billing), show_customer_path(@user)) + %li= icon('shopping-cart') + link_to(t(:overview_billing), show_or_new_customer_link(@user)) -- cgit v1.2.3