Actualiza HookItem por HookAction
This commit is contained in:
parent
068f3d8520
commit
166f209dab
8 changed files with 21 additions and 17 deletions
|
|
@ -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)
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue