mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 18:26:06 +02:00
show xml console link only during testing/staging phase
This commit is contained in:
parent
e2ed907f04
commit
9c7a436cf7
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@
|
||||||
- active_class = ['registrar/invoices'].include?(params[:controller]) ? 'active' :nil
|
- active_class = ['registrar/invoices'].include?(params[:controller]) ? 'active' :nil
|
||||||
%li{class: active_class}= link_to t(:billing), registrar_invoices_path
|
%li{class: active_class}= link_to t(:billing), registrar_invoices_path
|
||||||
|
|
||||||
- if can? :view, :registrar_xml_console
|
- if !Rails.env.production? && can? :view, :registrar_xml_console
|
||||||
- active_class = ['registrar/xml_consoles'].include?(params[:controller]) ? 'active' :nil
|
- active_class = ['registrar/xml_consoles'].include?(params[:controller]) ? 'active' :nil
|
||||||
%li{class: active_class}= link_to t(:xml_console), registrar_xml_console_path
|
%li{class: active_class}= link_to t(:xml_console), registrar_xml_console_path
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue