🎨 Identifier to 4 letters for better composition

This commit is contained in:
Manuel Cillero 2023-07-31 11:28:48 +02:00
parent aed120f96d
commit 23309b4c84
17 changed files with 35 additions and 35 deletions

View file

@ -9,8 +9,8 @@ impl ModuleTrait for HelloName {
APP_HELLO_NAME
}
fn configure_service(&self, cfg: &mut service::web::ServiceConfig) {
cfg.service(hello_name);
fn configure_service(&self, scfg: &mut service::web::ServiceConfig) {
scfg.service(hello_name);
}
}

View file

@ -9,8 +9,8 @@ impl ModuleTrait for HelloWorld {
APP_HELLO_WORLD
}
fn configure_service(&self, cfg: &mut service::web::ServiceConfig) {
cfg.route("/", service::web::get().to(hello_world));
fn configure_service(&self, scfg: &mut service::web::ServiceConfig) {
scfg.route("/", service::web::get().to(hello_world));
}
}