From 09b32aa4f10677ae02f545d45822f12f20a4d297 Mon Sep 17 00:00:00 2001 From: Sam Adams Date: Tue, 13 May 2014 13:22:00 -0700 Subject: [PATCH] fix warnings from express for deprecated 'del' by changing to delete. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 7789c21..5b447ff 100644 --- a/index.js +++ b/index.js @@ -238,7 +238,7 @@ Resource.prototype.mapDefaultAction = function(key, fn){ this.patch(fn); break; case 'destroy': - this.del(fn); + this.delete(fn); break; } };