[Fix #349] NewHeader: the logo is a link to root_path

This commit is contained in:
Simon Lehericey 2017-05-23 17:28:34 +02:00 committed by Mathieu Magnin
parent 53be5f9f21
commit 5cc4862983

View file

@ -1,5 +1,6 @@
.new-header{ class: current_page?(root_path) ? nil : 'new-header-with-border' }
.header-inner-content
%img.header-logo{ src: image_url("header/logo-tps.svg") }
= 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"