From 5cc486298397c095cf75421915cd795f878cc475 Mon Sep 17 00:00:00 2001 From: Simon Lehericey Date: Tue, 23 May 2017 17:28:34 +0200 Subject: [PATCH] [Fix #349] NewHeader: the logo is a link to root_path --- app/views/layouts/_new_header.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/layouts/_new_header.haml b/app/views/layouts/_new_header.haml index de45e2ef1..6e656bbc4 100644 --- a/app/views/layouts/_new_header.haml +++ b/app/views/layouts/_new_header.haml @@ -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"