Remove mod-only user revert system (#4178).

The mass undo system from #4178 replaces this system.

Followup to f2dccf8cf.
This commit is contained in:
evazion
2019-09-27 21:48:49 -05:00
parent 3b75dbf64f
commit a39b67b901
9 changed files with 1 additions and 118 deletions

View File

@@ -1,15 +0,0 @@
class UserRevertsController < ApplicationController
before_action :moderator_only
def new
@user = User.find(params[:user_id])
end
def create
user = User.find(params[:user_id])
revert = UserRevert.new(user.id)
revert.process
redirect_to(user_path(user.id))
end
end