Modifica la identificación de módulos

This commit is contained in:
Manuel Cillero 2022-03-01 17:50:36 +01:00
parent 0f185887a6
commit 9e65f89d2d
14 changed files with 46 additions and 48 deletions

View file

@ -7,16 +7,16 @@ mod summary;
pub struct AdminModule;
impl Module for AdminModule {
fn id(&self) -> &'static str {
fn name(&self) -> &'static str {
"admin"
}
fn name(&self) -> String {
l("module_name")
fn fullname(&self) -> String {
l("module_fullname")
}
fn description(&self) -> String {
l("module_desc")
l("module_description")
}
fn configure_module(&self, cfg: &mut server::web::ServiceConfig) {