diff --git a/app/views/layouts/_head_panel.html.erb b/app/views/layouts/_head_panel.html.erb
index 40c7e0a08e4b77824da33bc482a8f9607ad6ed34..5ad82ecd86a1413e282c03d2f1987e03c5094ed7 100644
--- a/app/views/layouts/_head_panel.html.erb
+++ b/app/views/layouts/_head_panel.html.erb
@@ -1,7 +1,7 @@
 <!-- Page Header -->
 <header>
   <h1 class="logo">
-    <a href="/">GITLAB</a>
+    <%= link_to "GITLAB", root_url %>
   </h1>
   <div class="account-box">
     <%= link_to profile_path, :class => "pic" do %>