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