From b93ae01d7b07ff805022b135ba1cade4c690334e Mon Sep 17 00:00:00 2001 From: MrJuliuss Date: Sun, 1 Sep 2013 19:28:19 +0200 Subject: [PATCH] [fix] delete items links --- public/assets/js/dashboard/group.js | 2 +- public/assets/js/dashboard/user.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/assets/js/dashboard/group.js b/public/assets/js/dashboard/group.js index 29ed050..eead3b1 100644 --- a/public/assets/js/dashboard/group.js +++ b/public/assets/js/dashboard/group.js @@ -79,7 +79,7 @@ $(function() { $.ajax( { - url: '/dashboard/group/delete', + url: 'group/delete', type: "DELETE", datatype: "json", data: {'groupId' : $(this).data('group-id')} diff --git a/public/assets/js/dashboard/user.js b/public/assets/js/dashboard/user.js index 24b4612..2414c80 100644 --- a/public/assets/js/dashboard/user.js +++ b/public/assets/js/dashboard/user.js @@ -64,7 +64,7 @@ $(function() { $.ajax( { - "url": "/dashboard/user/delete", + "url": "user/delete", "type": "DELETE", "datatype": "json", "data": {'userId' : $(this).data('user-id')}