pub fn path(
routes: &RouteCollection,
name: &str,
params: &[(&str, &str)],
) -> Result<String, HttpError>Expand description
Builds a path for the named route (Twig path() analogue).
ยงErrors
Propagates RouteCollection::generate failures.