link to /comments in the header
This commit is contained in:
parent
d9bd724c1d
commit
2c6eeeca1b
|
@ -30,11 +30,17 @@
|
|||
[ 255, (@traffic * 7).floor + 50.0 ].min, 0, 0) %>;" href="/"
|
||||
title="Lobsters (<%= @traffic.to_i %>)"></a>
|
||||
|
||||
<% links = { "/" => "Home", "/newest" => "Newest Stories" } %>
|
||||
<% links = {
|
||||
"/" => "Home",
|
||||
"/newest" => "Newest Stories",
|
||||
"/comments" => "Newest Comments"
|
||||
} %>
|
||||
|
||||
<% if @user %>
|
||||
<% links.merge!({ "/threads" => "Your Threads",
|
||||
"/stories/new" => "Submit Story" }) %>
|
||||
<% end %>
|
||||
|
||||
<% links.merge!({ "/search" => "Search" }) %>
|
||||
|
||||
<% if @cur_url.present? && !links.keys.include?(@cur_url) &&
|
||||
|
|
Loading…
Reference in a new issue