mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-22 21:55:10 +02:00
add resource map, it allow to check if router has resource and it allows to generate urls for named resources
This commit is contained in:
@@ -288,7 +288,7 @@ where
|
||||
} else {
|
||||
ResourceDef::new(&self.rdef)
|
||||
};
|
||||
config.register_service(rdef, guards, self)
|
||||
config.register_service(rdef, guards, self, None)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user