🎨 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_ADMIN);
pub_handle!(MODULE_ADMIN);
localize!("src/locales");
pub_locale!("src/locales");
mod summary;
pub struct Admin;
impl ModuleTrait for Admin {
fn handler(&self) -> Handler {
fn handle(&self) -> Handle {
MODULE_ADMIN
}