profile: display profile page even for single-role users

This commit is contained in:
Pierre de La Morinerie 2019-07-09 13:49:38 +00:00
parent 055fc63c45
commit f8a1911625

View file

@ -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 %li
= link_to profil_path, class: "menu-item menu-link" do = link_to profil_path, class: "menu-item menu-link" do
= image_tag "icons/switch-profile.svg" = image_tag "icons/switch-profile.svg"
Voir mon profil 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"