annotation ActionController::Route::PATCH

Overview

define a new route that responds to "PATCH" requests

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

Defined in:

action-controller/router/builder.cr