This commit is contained in:
Toks
2013-04-11 14:27:39 -04:00
parent 1a0defce6c
commit 9982c94f68
2 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@
<li><%= link_to "Edit", edit_wiki_page_path(@wiki_page) %></li>
<% end %>
<% if CurrentUser.is_janitor? %>
<li><%= link_to "Delete", wiki_page_path(@wiki_page), :remote => true, :method => :delete, :confirm => "Do you want to delete this wiki page?" %></li>
<li><%= link_to "Delete", wiki_page_path(@wiki_page), :remote => true, :method => :delete, :confirm => "Are you sure you want to delete this wiki page?" %></li>
<% end %>
<% end %>
<% end %>