fix @user vs @showing_user in unban section

This commit is contained in:
joshua stein 2016-02-11 09:59:05 -06:00
parent 2b5ba63087
commit 869f83e285

View file

@ -180,7 +180,7 @@
</div>
</p>
<% if @user.is_banned? %>
<% if @showing_user.is_banned? %>
<%= form_tag user_unban_path, :method => :post do %>
<p>
<%= submit_tag "Unban User" %>