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:
@@ -75,7 +75,7 @@ where
|
||||
/// }
|
||||
/// ```
|
||||
pub fn route(mut self, route: Route<P>) -> Self {
|
||||
self.routes.push(route);
|
||||
self.routes.push(route.finish());
|
||||
self
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user