diff options
author | jessib <jessib@riseup.net> | 2013-07-25 11:21:27 -0700 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-07-25 11:21:27 -0700 |
commit | 3578c13abd86d15ca6310bf5652f4855a8daa1a8 (patch) | |
tree | 6c703e82ded7692f50c740f0ae1a9454adbed256 /app/views/layouts | |
parent | 16128d6eb8bb8c7e467c263c3c4f79cf9869ed31 (diff) |
Have navigation link to new customer form if user is not already a braintree customer.
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/_navigation.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/_navigation.html.haml b/app/views/layouts/_navigation.html.haml index 1411c6a..cd37ffa 100644 --- a/app/views/layouts/_navigation.html.haml +++ b/app/views/layouts/_navigation.html.haml @@ -3,5 +3,5 @@ = link_to_navigation t(:account_settings), edit_user_path(@user), :active => controller?(:users) = link_to_navigation t(:email_settings), edit_user_email_settings_path(@user), :active => controller?(:email_settings) = link_to_navigation t(:support_tickets), auto_tickets_path, :active => controller?(:tickets) - = link_to_navigation t(:billing_settings), show_customer_path(@user), :active => controller?(:customer, :payments, :subscriptions, :credit_card_info) + = link_to_navigation t(:billing_settings), show_or_new_customer_link(@user), :active => controller?(:customer, :payments, :subscriptions, :credit_card_info) = link_to_navigation t(:logout), logout_path, :method => :delete |