ensl.org/app/views/application/_navigation.html.erb
2014-04-07 11:04:56 +01:00

37 lines
1.3 KiB
Text

<nav id="menu">
<ul class="navigation">
<li><%= link_to "News", controller: "articles", action: "news_index" %></li>
<li>
<%= link_to "Contests", controller: "contests", action: "current" %>
<ul>
<li><%= link_to "Current", "/contests/current" %></li>
<li><%= link_to "NS2 History", "/contests/historical/NS2" %></li>
<li><%= link_to "NS1 History", "/contests/historical/NS1" %></li>
</ul>
</li>
<li>
<%= link_to "Gathers", Gather.last %>
<ul>
<li><%= link_to "Introduction", article_url(464) %></li>
<li><%= link_to "Archives", "/gathers/" %></li>
</ul>
</li>
<li>
<%= link_to "Articles", articles_url %>
<ul>
<li><%= link_to "Articles", articles_url %></li>
<li><%= link_to "NS Movies", movies_url %></li>
<li><%= link_to "Files", directory_url(Directory::ROOT) %></li>
</ul>
</li>
<li>
<%= link_to "Forums", forums_url %>
<ul>
<li><%= link_to "Index", forums_url %></li>
<li><%= link_to "Rules", "/topics/12" %></li>
</ul>
</li>
<li><%= link_to "Teams", controller: "teams", action: :index %></li>
<li><%= link_to "Users", controller: "users", action: :index %></li>
</ul>
</nav>