mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-29 00:07:48 +02:00
Allow to set/override app data on scope level
This commit is contained in:
@@ -407,7 +407,7 @@ where
|
||||
}
|
||||
// custom app data storage
|
||||
if let Some(ref mut ext) = self.data {
|
||||
config.set_route_data(ext);
|
||||
config.set_service_data(ext);
|
||||
}
|
||||
config.register_service(rdef, guards, self, None)
|
||||
}
|
||||
|
Reference in New Issue
Block a user