From d0a15a50e1fdf08f2283562453d4e803aa7b31c8 Mon Sep 17 00:00:00 2001 From: jessib Date: Tue, 13 Aug 2013 10:37:31 -0700 Subject: Option to disable billing engine and hide billing related links. To actual disable, must remove billing engine from Gemfile (and re-bundle) --- app/views/layouts/_navigation.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/layouts/_navigation.html.haml') diff --git a/app/views/layouts/_navigation.html.haml b/app/views/layouts/_navigation.html.haml index cd37ffa..3eb2289 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_or_new_customer_link(@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) if engine_enabled('LeapWebBilling') = link_to_navigation t(:logout), logout_path, :method => :delete -- cgit v1.2.3