The http methods works in localhost but when deployed, DELETE, PUT and PATCH all default to GET
My Route
$app->delete('/projects/{id}', "projects.controller:delete")->before($loggedInFilter);
Angular
return t.delete("projects/" + e.id).success(function() {
for (var t = 0; t < c.all.length; t++) c.all[t].id == e.id && c.all.splice(t, 1)
}).error(function(e) {
alertify.log(e, "error", 2e3)
})
Really don’t know what else to do