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 NODE_MODULE: &str = "pagetop-node::module::node";
pub const MODULE_NODE: &str = "pagetop-node::module::node";
localize!("src/locales");
@ -11,7 +11,7 @@ pub struct Node;
impl ModuleTrait for Node {
fn handler(&self) -> &'static str {
NODE_MODULE
MODULE_NODE
}
fn name(&self) -> String {