🎨 Ahora son pub_handle!() y pub_locale!()

This commit is contained in:
Manuel Cillero 2022-11-10 19:16:04 +01:00
parent 9c29240c34
commit 680a61247a
36 changed files with 102 additions and 102 deletions

View file

@ -1,8 +1,8 @@
use pagetop::prelude::*;
pub_const_handler!(MODULE_NODE);
pub_handle!(MODULE_NODE);
localize!("src/locales");
pub_locale!("src/locales");
//mod entity;
mod migration;
@ -10,7 +10,7 @@ mod migration;
pub struct Node;
impl ModuleTrait for Node {
fn handler(&self) -> Handler {
fn handle(&self) -> Handle {
MODULE_NODE
}