From 32dbd57d296808970648a0b9dffc94238669b8f0 Mon Sep 17 00:00:00 2001 From: Manson Wang Date: Wed, 23 Oct 2013 10:42:54 +0800 Subject: [PATCH] Fix filemanager delete url path --- app/assets/javascripts/admin/filemanager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/admin/filemanager.js b/app/assets/javascripts/admin/filemanager.js index 33110a2bd..2558cb46c 100644 --- a/app/assets/javascripts/admin/filemanager.js +++ b/app/assets/javascripts/admin/filemanager.js @@ -69,7 +69,7 @@ $(document).ready(function(){ $("input[type=checkbox]:checked").each(function(){ items_to_delete.push($(this).val()); }) - $.post("<%= delete_files_admin_assets_path %>",{"files":items_to_delete,"type":type},function(){ + $.post("/admin/assets/delete_files",{"files":items_to_delete,"type":type},function(){ deleteBtn.hide(); }) })