mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
Add confirmation modal to admin group deletion
This commit is contained in:

committed by
Michael Campagnaro

parent
58e7c3e1f3
commit
9616767bff
@ -43,7 +43,7 @@ class Admin::GroupsController < Admin::AdminController
|
||||
can_not_modify_automatic
|
||||
else
|
||||
group.destroy
|
||||
render json: "ok"
|
||||
render json: success_json
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user