fix demarches active link when action of procedures_controller
This commit is contained in:
parent
e493bfbf31
commit
5950f6c93c
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
||||||
%ul.header-tabs
|
%ul.header-tabs
|
||||||
- if current_instructeur.procedures.count > 0
|
- if current_instructeur.procedures.count > 0
|
||||||
%li
|
%li
|
||||||
= active_link_to "Démarches", instructeur_procedures_path, active: controller_name == 'dossiers', class: 'tab-link'
|
= active_link_to "Démarches", instructeur_procedures_path, active: ['dossiers','procedures'].include?(controller_name), class: 'tab-link'
|
||||||
- if current_instructeur.avis.count > 0
|
- if current_instructeur.avis.count > 0
|
||||||
%li
|
%li
|
||||||
= active_link_to instructeur_all_avis_path, active: controller_name == 'avis', class: 'tab-link' do
|
= active_link_to instructeur_all_avis_path, active: controller_name == 'avis', class: 'tab-link' do
|
||||||
|
|
Loading…
Reference in a new issue