fix relative paths on 404

This commit is contained in:
Lorin Werthen 2016-10-31 13:55:38 +01:00
parent dc16329e32
commit 6bc6b9c325
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0

View file

@ -12,7 +12,7 @@
<img id="inline-logo" src="<%= zeus_logo_url color: @zeus_logo_color %>" alt="" />
</a>
<% nav_items do |item, active| %>
<a class="nav-item is-tab <%= 'is-active' if active %>" href="<%= relative_path_to(item) %>">
<a class="nav-item is-tab <%= 'is-active' if active %>" href="<%= item.path %>">
<%= item[:title] %>
</a>
<% end %>