Add Suspend User to flags page

This commit is contained in:
Robin Ward
2017-09-14 14:10:39 -04:00
parent 079f108ceb
commit 09ed2ed749
17 changed files with 177 additions and 55 deletions

View File

@ -67,7 +67,8 @@ class Admin::UsersController < Admin::AdminController
user_history = StaffActionLogger.new(current_user).log_user_suspend(
@user,
params[:reason],
context: message
context: message,
post_id: params[:post_id]
)
end
@user.logged_out