Actualiza HookItem por HookAction

This commit is contained in:
Manuel Cillero 2022-07-16 06:45:32 +02:00
parent 068f3d8520
commit 166f209dab
8 changed files with 21 additions and 17 deletions

View file

@ -28,9 +28,9 @@ impl ModuleTrait for Admin {
);
}
fn actions(&self) -> Vec<HookItem> {
fn actions(&self) -> Vec<HookAction> {
vec![
hook_item!(BeforeRenderPageHook => before_render_page)
hook_action!(BeforeRenderPageHook => before_render_page)
]
}
}