Commit 07fefc9206a9d795fedac9f899ee2e4a4fef154b
1 parent
5d1a1a92
Exists in
master
and in
4 other branches
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 | <!-- Page Header --> | 1 | <!-- Page Header --> |
2 | <header> | 2 | <header> |
3 | <h1 class="logo"> | 3 | <h1 class="logo"> |
4 | - <a href="/">GITLAB</a> | 4 | + <%= link_to "GITLAB", root_url %> |
5 | </h1> | 5 | </h1> |
6 | <div class="account-box"> | 6 | <div class="account-box"> |
7 | <%= link_to profile_path, :class => "pic" do %> | 7 | <%= link_to profile_path, :class => "pic" do %> |