fix queue for bulk reverts
This commit is contained in:
@@ -15,7 +15,7 @@ module Moderator
|
|||||||
@bulk_revert.preview
|
@bulk_revert.preview
|
||||||
render action: "new"
|
render action: "new"
|
||||||
else
|
else
|
||||||
BulkRevert.delay(:queue => "default").process(@constraints)
|
@bulk_revert.delay(:queue => "default").process(@constraints)
|
||||||
flash[:notice] = "Reverts queued"
|
flash[:notice] = "Reverts queued"
|
||||||
redirect_to new_bulk_revert_path
|
redirect_to new_bulk_revert_path
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user