1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 14:49:20 +02:00

Rename RouterConfig to ServiceConfig

This commit is contained in:
Nikolay Kim
2019-04-15 07:32:49 -07:00
parent 1eebd47072
commit 09cdf1e302
11 changed files with 33 additions and 30 deletions

View File

@ -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});