This commit is contained in:
Toks
2013-05-25 19:49:19 -04:00
parent 7c65598ff0
commit 77dfd91702
6 changed files with 9 additions and 10 deletions

View File

@@ -26,6 +26,9 @@
<% if @wiki_page_version %>
<li>|</li>
<li><%= link_to "Newest", wiki_page_path(@wiki_page_version.wiki_page_id) %></li>
<% if CurrentUser.is_member? %>
<li><%= link_to "Revert to", revert_wiki_page_path(@wiki_page_version.wiki_page_id, :version_id => @wiki_page_version.id), :method => :put, :confirm => "Are you sure you want to revert to this version?" %></li>
<% end %>
<% end %>
</menu>
<% end %>