diff --git a/app/views/layouts/_new_header.haml b/app/views/layouts/_new_header.haml index 4b2da6288..616ade33b 100644 --- a/app/views/layouts/_new_header.haml +++ b/app/views/layouts/_new_header.haml @@ -85,7 +85,9 @@ = link_to destroy_user_session_path, method: :delete, class: "menu-item menu-link" do = image_tag "icons/sign-out.svg" Se déconnecter - - elsif request.path != new_user_session_path + - if request.path == new_user_registration_path + %li + Vous avez déjà un compte ? %li = link_to "Connexion", new_user_session_path, class: "button secondary"