module ActionController::Router

Direct including types

Defined in:

action-controller/router.cr
action-controller/router/route_handler.cr

Constant Summary

HTTP_METHODS = ["get", "post", "put", "patch", "delete", "options", "head"] of ::String

Instance Method Summary

Instance Method Detail

def delete(path : String, &block : Action) #

[View source]
def get(path : String, &block : Action) #

[View source]
def head(path : String, &block : Action) #

[View source]
def options(path : String, &block : Action) #

[View source]
def patch(path : String, &block : Action) #

[View source]
def post(path : String, &block : Action) #

[View source]
def put(path : String, &block : Action) #

[View source]
def route_handler : RouteHandler #

[View source]