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,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 %>
|
||||
|
|
Loading…
Reference in a new issue