🎨 Improve the code for actions

This commit is contained in:
Manuel Cillero 2023-11-04 12:57:14 +01:00
parent 7a68cf9be7
commit c108235613
8 changed files with 30 additions and 52 deletions

View file

@ -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"),
]
}