class Lucky::RouteHandler

Included Modules

Defined in:

lucky/route_handler.cr

Instance Method Summary

Instance methods inherited from class Object

blank? : Bool blank?, present? : Bool present?

Instance Method Detail

def call(context : HTTP::Server::Context) #

Assuming a request path comes in for /reports.json, we find and actions with an explicit extension set like /reports.json. If none are found, then we look for /reports that accepts the json mime type.


[View source]