module ActionController::Router
Direct including types
Defined in:
action-controller/router.craction-controller/router/route_handler.cr
Constant Summary
-
HTTP_METHODS =
["get", "post", "put", "patch", "delete", "options", "head"] of ::String
Instance Method Summary
- #delete(path : String, &block : Action)
- #get(path : String, &block : Action)
- #head(path : String, &block : Action)
- #options(path : String, &block : Action)
- #patch(path : String, &block : Action)
- #post(path : String, &block : Action)
- #put(path : String, &block : Action)
- #route_handler : RouteHandler