fixes #1350, better db:seed script

This commit is contained in:
r888888888
2013-04-16 20:23:02 -07:00
parent 9ce04fb5df
commit 2dfa616f33
9 changed files with 91 additions and 37 deletions

View File

@@ -35,9 +35,9 @@
<% end %>
<% if post.is_banned? %>
<li><%= link_to "Unban", unban_post_path(post), :method => :post %></li>
<li><%= link_to "Unban", unban_moderator_post_post_path(post), :method => :post %></li>
<% else %>
<li><%= link_to "Ban", ban_post_path(post), :method => :post %></li>
<li><%= link_to "Ban", confirm_ban_moderator_post_post_path(post) %></li>
<% end %>
<% if CurrentUser.is_admin? %>