Route
methodsAdds a new route definition to the router.
Parameters:routeString
callbackFunction
The route definition.
The callback to be executed when the route is matched.
Adds a new route definition to the router.
The route definition.
The callback to be executed when the route is matched.