No login link on header on login page

This commit is contained in:
Mathieu Magnin 2017-06-14 18:34:53 +02:00
parent fb5c7e7d23
commit 8b9eda0f43

View file

@ -3,4 +3,5 @@
= link_to root_path do
%img.header-logo{ src: image_url("header/logo-tps.svg") }
= link_to "Connexion", new_user_session_path, class: "header-login-button"
- unless request.path == new_user_session_path
= link_to "Connexion", new_user_session_path, class: "header-login-button"