👽️ Apply last macro names changes

This commit is contained in:
Manuel Cillero 2023-10-27 09:20:07 +02:00
parent 5f366d3617
commit 238e92689a
16 changed files with 23 additions and 23 deletions

View file

@ -2,9 +2,9 @@ use pagetop::prelude::*;
new_handle!(MODULE_HOMEDEMO);
static_locales!(LOCALES_HOMEDEMO);
new_static_locales!(LOCALES_HOMEDEMO);
static_files!(homedemo);
new_static_files!(homedemo);
pub struct HomeDemo;
@ -22,7 +22,7 @@ impl ModuleTrait for HomeDemo {
}
fn configure_service(&self, scfg: &mut service::web::ServiceConfig) {
static_files_service!(scfg, "/homedemo", homedemo);
service_for_static_files!(scfg, "/homedemo", homedemo);
scfg.route("/", service::web::get().to(demo));
}
}