♻️ Relocate macro codes based on function

This commit is contained in:
Manuel Cillero 2023-08-20 12:29:15 +02:00
parent f2031307d7
commit c9f71685b4
16 changed files with 163 additions and 137 deletions

View file

@ -33,6 +33,6 @@ impl ModuleTrait for MegaMenu {
}
fn configure_service(&self, scfg: &mut service::web::ServiceConfig) {
serve_static_files!(scfg, "/megamenu", megamenu);
static_files_service!(scfg, "/megamenu", megamenu);
}
}