annotation
Kemal::Controller::Put
Overview
Annotation to define a Put route for a controller method.
Parameters
path: String - The URL path for the route (can include path parameters like:id)auth: Bool - If true, requires authentication viaauthenticate!method (default: false)strip: Bool | Array(Symbol) - If true, strips all parameters; if array, strips only specified parameters (default: false)status: Int32 - The HTTP status code to set before the action runs (default: 200)as: Symbol - The name of the route's URL helper inKemal::Routes(default:{controller}_{action})
See Kemal::Controller documentation for usage examples.