annotation ActionController::Route::PUT

Overview

define a new route that responds to "PUT" requests

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

Defined in:

action-controller/router/builder.cr