profile: display profile page even for single-role users
This commit is contained in:
parent
055fc63c45
commit
f8a1911625
1 changed files with 4 additions and 4 deletions
|
@ -26,11 +26,11 @@
|
||||||
= link_to admin_procedures_path, class: "menu-item menu-link" do
|
= link_to admin_procedures_path, class: "menu-item menu-link" do
|
||||||
= image_tag "icons/switch-profile.svg"
|
= image_tag "icons/switch-profile.svg"
|
||||||
Passer en administrateur
|
Passer en administrateur
|
||||||
%li
|
|
||||||
= link_to profil_path, class: "menu-item menu-link" do
|
|
||||||
= image_tag "icons/switch-profile.svg"
|
|
||||||
Voir mon profil
|
|
||||||
|
|
||||||
|
%li
|
||||||
|
= link_to profil_path, class: "menu-item menu-link" do
|
||||||
|
= image_tag "icons/switch-profile.svg"
|
||||||
|
Voir mon profil
|
||||||
%li
|
%li
|
||||||
= link_to destroy_user_session_path, method: :delete, class: "menu-item menu-link" do
|
= link_to destroy_user_session_path, method: :delete, class: "menu-item menu-link" do
|
||||||
= image_tag "icons/sign-out.svg"
|
= image_tag "icons/sign-out.svg"
|
||||||
|
|
Loading…
Reference in a new issue