mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-30 16:40:21 +02:00
added extractor configuration
This commit is contained in:
@@ -144,7 +144,7 @@ impl<S: 'static> ResourceHandler<S> {
|
||||
T: FromRequest<S> + 'static,
|
||||
{
|
||||
self.routes.push(Route::default());
|
||||
self.routes.last_mut().unwrap().with(handler)
|
||||
self.routes.last_mut().unwrap().with(handler);
|
||||
}
|
||||
|
||||
/// Register a resource middleware
|
||||
|
Reference in New Issue
Block a user