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:
parent
5d1a1a92b7
commit
07fefc9206
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
<!-- Page Header -->
|
<!-- Page Header -->
|
||||||
<header>
|
<header>
|
||||||
<h1 class="logo">
|
<h1 class="logo">
|
||||||
<a href="/">GITLAB</a>
|
<%= link_to "GITLAB", root_url %>
|
||||||
</h1>
|
</h1>
|
||||||
<div class="account-box">
|
<div class="account-box">
|
||||||
<%= link_to profile_path, :class => "pic" do %>
|
<%= link_to profile_path, :class => "pic" do %>
|
||||||
|
|
Loading…
Reference in a new issue