🎨 Improve the code for actions
This commit is contained in:
parent
7a68cf9be7
commit
c108235613
8 changed files with 30 additions and 52 deletions
|
|
@ -21,7 +21,7 @@ impl ModuleTrait for Admin {
|
|||
actions![
|
||||
action::page::BeforePrepareBody::with(before_prepare_body),
|
||||
action::component::BeforePrepareComponent::<Menu>::with(before_prepare_menu)
|
||||
.filtering_id("admin-menu-test"),
|
||||
.filter_by_referer_id("admin-menu-test"),
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue