Actualiza código y revisa constantes

This commit is contained in:
Manuel Cillero 2022-07-15 18:58:05 +02:00
parent e011c9269a
commit bc70527ecf
35 changed files with 356 additions and 317 deletions

View file

@ -1,6 +1,6 @@
use pagetop::prelude::*;
pub const USER_MODULE: &str = "pagetop-user::module::user";
pub const MODULE_USER: &str = "pagetop-user::module::user";
localize!("src/locales");
@ -10,7 +10,7 @@ pub struct User;
impl ModuleTrait for User {
fn handler(&self) -> &'static str {
USER_MODULE
MODULE_USER
}
fn name(&self) -> String {