replace instructeur_avis_index url by instructeur_all_avis url

This commit is contained in:
Christophe Robillard 2020-04-16 17:52:58 +02:00
parent dcb9afaf25
commit 72d27ffdb2
8 changed files with 9 additions and 8 deletions

View file

@ -32,7 +32,7 @@
= active_link_to "Démarches", instructeur_procedures_path, active: :inclusive, class: 'tab-link'
- if current_instructeur.avis.count > 0
%li
= active_link_to instructeur_avis_index_path, active: :inclusive, class: 'tab-link' do
= active_link_to instructeur_all_avis_path, active: :inclusive, class: 'tab-link' do
Avis
- avis_counter = current_instructeur.avis.without_answer.count
- if avis_counter > 0