fix @user vs @showing_user in unban section
This commit is contained in:
parent
2b5ba63087
commit
869f83e285
|
@ -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" %>
|
||||
|
|
Loading…
Reference in a new issue