router

Attribute Macro router 

Source
#[router]
Expand description

Creates a router. Useful for modularizing codes.

ยงNote

Currently router returns 404 error if there is a no matching rule.