delete static method

dynamic delete(
  1. dynamic route,
  2. dynamic controller
)

Implementation

static delete(route, controller) {
  Route().addRoute('DELETE', Route()._prefix + route, controller);
}