From 98ace9d49fa2ddd1c20d54ae72d7e30e456cefcf Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Tue, 7 Apr 2015 15:07:20 +0300 Subject: [PATCH] Remove zone link from registrar --- app/views/layouts/depp/application.haml | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/views/layouts/depp/application.haml b/app/views/layouts/depp/application.haml index fc2945d7d..b325a61d0 100644 --- a/app/views/layouts/depp/application.haml +++ b/app/views/layouts/depp/application.haml @@ -34,9 +34,6 @@ - active_class = ['depp/contacts'].include?(params[:controller]) ? 'active' :nil %li{class: active_class}= link_to t(:contacts), depp.contacts_path - - active_class = ['registrar/zones'].include?(params[:controller]) ? 'active' :nil - %li{class: active_class}= link_to t('zones'), main_app.registrar_invoices_path - - if can? :show, Invoice - active_class = ['registrar/invoices'].include?(params[:controller]) ? 'active' :nil %li{class: active_class}= link_to t('invoices'), main_app.registrar_invoices_path