Remove zone link from registrar

This commit is contained in:
Priit Tark 2015-04-07 15:07:20 +03:00
parent a500e0831f
commit 98ace9d49f

View file

@ -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