🎨 Identifier to 4 letters for better composition
This commit is contained in:
parent
aed120f96d
commit
23309b4c84
17 changed files with 35 additions and 35 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue