🚚 Refactor modules to packages to avoid Rust clash
This commit is contained in:
parent
98fa367ebc
commit
89f78a1aff
35 changed files with 125 additions and 123 deletions
|
|
@ -7,13 +7,13 @@ static_files!(homedemo);
|
|||
#[derive(AssignHandle)]
|
||||
pub struct HomeDemo;
|
||||
|
||||
impl ModuleTrait for HomeDemo {
|
||||
impl PackageTrait for HomeDemo {
|
||||
fn name(&self) -> L10n {
|
||||
L10n::t("module_name", &LOCALES_HOMEDEMO)
|
||||
L10n::t("package_name", &LOCALES_HOMEDEMO)
|
||||
}
|
||||
|
||||
fn description(&self) -> L10n {
|
||||
L10n::t("module_description", &LOCALES_HOMEDEMO)
|
||||
L10n::t("package_description", &LOCALES_HOMEDEMO)
|
||||
}
|
||||
|
||||
fn configure_service(&self, scfg: &mut service::web::ServiceConfig) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue