Rocket/examples/handlebars_templates
Sergio Benitez 6a9421935e Add 'Request::route' method to get active 'Route'.
This commit also adds the `base` field to `Route` which allows the
base mount point to be retrieved. Finally, this commits adds an
implementation of `FromRequest` for `Route` which returns the active
route if one is available or forwards otherwise.

This commit is a breaking change: it makes `Request` and `MockRequest`
invariant over the lifetime `'r`. While this shouldn't affect most
applications, it may affect some.

Resolves #108.
2017-05-29 18:00:33 -07:00
..
src Add 'Request::route' method to get active 'Route'. 2017-05-29 18:00:33 -07:00
templates Remove config global state. Use Responder::respond_to. 2017-05-19 03:29:08 -07:00
Cargo.toml Upgrade dependencies to Serde 1.0. 2017-04-24 17:37:18 -07:00