This commit is contained in:
albert
2013-03-17 21:11:29 -04:00
parent 419aa1cedf
commit 924a19388f
3 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
<li><%= link_to "Search", search_wiki_pages_path %></li>
<li><%= link_to "New", new_wiki_page_path %></li>
<li><%= link_to "Help", wiki_pages_path(:search => {:title => "help:wiki"}) %></li>
<% if @wiki_page %>
<% if @wiki_page && !@wiki_page.new_record? %>
<li>|</li>
<li><%= link_to "Posts (#{Post.fast_count(@wiki_page.title)})", posts_path(:tags => @wiki_page.title) %></li>
<li><%= link_to "History", wiki_page_versions_path(:search => {:wiki_page_id => @wiki_page.id}) %></li>