From 07fefc9206a9d795fedac9f899ee2e4a4fef154b Mon Sep 17 00:00:00 2001 From: Martin Knoll Date: Fri, 25 Nov 2011 01:01:58 +0100 Subject: [PATCH] Fixes issue with logo linking to the server root, instead of the app root. If using multiple Rails apps in subfolders, the upper left "GITLAB" button links to '/' and thats kinda wrong. This fix creates a link to the root_url instead, which works in every case. --- app/views/layouts/_head_panel.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/_head_panel.html.erb b/app/views/layouts/_head_panel.html.erb index 40c7e0a0..5ad82ecd 100644 --- a/app/views/layouts/_head_panel.html.erb +++ b/app/views/layouts/_head_panel.html.erb @@ -1,7 +1,7 @@

- GITLAB + <%= link_to "GITLAB", root_url %>