1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-19 12:25:37 +02:00

added extractor configuration system

This commit is contained in:
Nikolay Kim
2019-03-03 00:57:48 -08:00
parent 08fcb6891e
commit 6df85e32df
9 changed files with 210 additions and 50 deletions

View File

@@ -75,7 +75,7 @@ where
/// }
/// ```
pub fn route(mut self, route: Route<P>) -> Self {
self.routes.push(route);
self.routes.push(route.finish());
self
}