Add confirmation modal to admin group deletion

This commit is contained in:
Michael Campagnaro
2013-07-21 22:37:01 -04:00
committed by Michael Campagnaro
parent 58e7c3e1f3
commit 9616767bff
23 changed files with 196 additions and 28 deletions

View File

@ -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