🧑💻 Major update to enhance Handle usage
This commit is contained in:
parent
255fb393a9
commit
d9f3561832
56 changed files with 201 additions and 353 deletions
|
|
@ -4,10 +4,9 @@ static_locales!(LOCALES_ADMIN);
|
|||
|
||||
mod summary;
|
||||
|
||||
#[derive(AssignHandle)]
|
||||
pub struct Admin;
|
||||
|
||||
impl_handle!(MODULE_ADMIN for Admin);
|
||||
|
||||
impl ModuleTrait for Admin {
|
||||
fn name(&self) -> L10n {
|
||||
L10n::t("module_name", &LOCALES_ADMIN)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue