mirror of
https://github.com/ntex-rs/ntex-extras.git
synced 2025-04-06 14:27:41 +03:00
Rename RouterConfig to ServiceConfig
This commit is contained in:
parent
1eebd47072
commit
09cdf1e302
11 changed files with 33 additions and 30 deletions
|
@ -62,7 +62,7 @@ impl fmt::Display for Args {
|
|||
pub struct {name};
|
||||
|
||||
impl actix_web::dev::HttpServiceFactory for {name} {{
|
||||
fn register(self, config: &mut actix_web::dev::ServiceConfig) {{
|
||||
fn register(self, config: &mut actix_web::dev::AppService) {{
|
||||
{ast}
|
||||
|
||||
let resource = actix_web::Resource::new(\"{path}\"){guards}.{to}({name});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue