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.
This commit is contained in:
Martin Knoll 2011-11-25 01:01:58 +01:00
parent 5d1a1a92b7
commit 07fefc9206

View file

@ -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 %>