This commit is contained in:
albert
2013-03-22 10:24:01 -07:00
parent 8bfd7b408f
commit 87edfd52b1
4 changed files with 20 additions and 1 deletions

View File

@@ -3,8 +3,13 @@
<li><%= render "wiki_pages/quick_search" %></li>
<li><%= link_to "Listing", wiki_pages_path %></li>
<li><%= link_to "Search", search_wiki_pages_path %></li>
<li><%= link_to "New", new_wiki_page_path %></li>
<% if CurrentUser.is_member? %>
<li><%= link_to "New", new_wiki_page_path %></li>
<% end %>
<li><%= link_to "Help", wiki_pages_path(:search => {:title => "help:wiki"}) %></li>
<% if @wiki_page %>
<li>|</li>
<li><%= link_to "Posts (#{Post.fast_count(@wiki_page.title)})", posts_path(:tags => @wiki_page.title) %></li>