mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
lol it works now
This commit is contained in:
parent
c120156e86
commit
7f06b7a7ea
@ -1,6 +1,6 @@
|
||||
class ForumsLinkbuilderService < Service
|
||||
def self.worldbuilding_url(page_type)
|
||||
self.content_to_url_map.fetch(page_type, nil)
|
||||
self.content_to_url_map.fetch(page_type.name.to_sym, nil)
|
||||
end
|
||||
|
||||
def self.content_to_url_map
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
<ul class="tabs tabs-transparent">
|
||||
<% @navbar_actions.each do |action| %>
|
||||
<li class="tab">
|
||||
<a class="white-text <%= 'active' if action[:href] == request.env['PATH_INFO'] %>" href="<%= action[:href] %>" target="<%= action[:target] || '_self' %>">
|
||||
<a class="white-text <%= 'active' if action[:href] == request.env['REQUEST_PATH'] %>" href="<%= action[:href] %>" target="<%= action[:target] || '_self' %>">
|
||||
<%= action[:label] %>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user