fix(breadcrumb): ETQ user having an instructeur and an admin, when i am connected as an instructeur, root of breadcrumb returns to instructeur_procedures_path, not root_path which is admin_procedures_path
This commit is contained in:
parent
998670433e
commit
d78faf9612
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
.fr-collapse#breadcrumb-1
|
.fr-collapse#breadcrumb-1
|
||||||
%ol.fr-breadcrumb__list
|
%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|
|
- steps.each.with_index do |step, i|
|
||||||
- if i == steps.size - 1
|
- if i == steps.size - 1
|
||||||
|
|
Loading…
Reference in a new issue