Permit setting template during view render with request.setTemplate()
Permit middleware to define custom routes to static content with pub const Routes (implemented for something no longer needed but seems useful anyway).
Implement globbing on custom routes, /foo/:bar* will glob all path segments including and after /foo/..., e.g. /foo/bar/baz/qux will pass invoke the custom view function with an array of bar, baz, qux as first argument (instead of typical resource ID).
Permit setting template during view render with
request.setTemplate()
Permit middleware to define custom routes to static content with
pub const Routes
(implemented for something no longer needed but seems useful anyway).Implement globbing on custom routes,
/foo/:bar*
will glob all path segments including and after/foo/...
, e.g./foo/bar/baz/qux
will pass invoke the custom view function with an array ofbar
,baz
,qux
as first argument (instead of typical resource ID).