提交 07fefc92 编写于 作者: M 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.
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册