Commit 07fefc92 authored by Martin Knoll's avatar Martin Knoll

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.
parent 5d1a1a92
<!-- 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 %>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment