Commit 07fefc9206a9d795fedac9f899ee2e4a4fef154b

Authored by Martin Knoll
1 parent 5d1a1a92

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.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/layouts/_head_panel.html.erb
1 1 <!-- Page Header -->
2 2 <header>
3 3 <h1 class="logo">
4   - <a href="/">GITLAB</a>
  4 + <%= link_to "GITLAB", root_url %>
5 5 </h1>
6 6 <div class="account-box">
7 7 <%= link_to profile_path, :class => "pic" do %>
... ...