* Refactors _banish.html.erb by removing duplicate code * Refactors _banish.html.erb to account for new and old users * Moves conditional into Admin::UsersController#set_user_to_be_banished * Reverts last commit, as it didnt work as expected * Fixes last commit, which reverted to the incorrect code * Pulls banishable user into instance var and fixes button txt |
||
|---|---|---|
| .. | ||
| actions | ||
| _actions.html.erb | ||
| _status.html.erb | ||