No login link on header on login page
This commit is contained in:
parent
fb5c7e7d23
commit
8b9eda0f43
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue