summaryrefslogtreecommitdiff
path: root/users/app
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2013-07-25 11:21:27 -0700
committerjessib <jessib@riseup.net>2013-07-25 11:21:27 -0700
commit3578c13abd86d15ca6310bf5652f4855a8daa1a8 (patch)
tree6c703e82ded7692f50c740f0ae1a9454adbed256 /users/app
parent16128d6eb8bb8c7e467c263c3c4f79cf9869ed31 (diff)
Have navigation link to new customer form if user is not already a braintree customer.
Diffstat (limited to 'users/app')
-rw-r--r--users/app/views/overviews/show.html.haml2
1 files changed, 1 insertions, 1 deletions
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))