🎨 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,15 +1,15 @@
use pagetop::prelude::*;
pub_const_handler!(MODULE_USER);
pub_handle!(MODULE_USER);
localize!("src/locales");
pub_locale!("src/locales");
mod migration;
pub struct User;
impl ModuleTrait for User {
fn handler(&self) -> Handler {
fn handle(&self) -> Handle {
MODULE_USER
}