Merge pull request #11065 from mfo/US/bad-start-of-breadcrumb-as-an-instructeur

ETQ instructeur, la racine du fil d'ariane devrait renvoyer sur la liste des demarches
This commit is contained in:
mfo 2024-11-21 10:16:13 +00:00 committed by GitHub
commit cd98eb88f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,7 @@
.fr-collapse#breadcrumb-1
%ol.fr-breadcrumb__list
%li= link_to t('root', scope: [:layouts, :breadcrumb]), root_path, class: 'fr-breadcrumb__link'
%li= link_to t('root', scope: [:layouts, :breadcrumb]), instructeur_procedures_path, class: 'fr-breadcrumb__link'
- steps.each.with_index do |step, i|
- if i == steps.size - 1