Merge pull request #355 from sgmap/logo_to_home

[Fix #349] NewHeader: the logo is a link to root_path
This commit is contained in:
Mathieu Magnin 2017-05-29 11:42:08 +02:00 committed by GitHub
commit 3e0977d56f

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"