diff --git a/lib/cartodb/controllers/named_maps_admin.js b/lib/cartodb/controllers/named_maps_admin.js index c3883f66..bd7643d0 100644 --- a/lib/cartodb/controllers/named_maps_admin.js +++ b/lib/cartodb/controllers/named_maps_admin.js @@ -29,7 +29,7 @@ NamedMapsAdminController.prototype.register = function(app) { app.post(app.base_url_templated, cors(), this.create.bind(this)); app.put(app.base_url_templated + '/:template_id', cors(), this.update.bind(this)); app.get(app.base_url_templated + '/:template_id', cors(), this.retrieve.bind(this)); - app.del(app.base_url_templated + '/:template_id', cors(), this.destroy.bind(this)); + app.delete(app.base_url_templated + '/:template_id', cors(), this.destroy.bind(this)); app.get(app.base_url_templated, cors(), this.list.bind(this)); app.options(app.base_url_templated + '/:template_id', cors('Content-Type')); };