new tart.mvc.uri.Route(template)
Represents a request made to the application, storing its controller, action and parameters.
Name | Type | Description |
---|---|---|
template |
tart.mvc.uri.routeTemplate |
uri route template object. |
Methods
-
setFormat(format)
-
Parses a route's human readable format into hard-core RegExp.
Name Type Description format
string Route's format.