annotation ActionController::Route::DELETE

Overview

define a new route that responds to "DELETE" requests

@[AC::Route::"DELETE"("/my/route/:name")]
def my_route_name(name : String) : String
  name
end

Defined in:

action-controller/router/builder.cr