Modifica la estructura de preparación de una app
This commit is contained in:
parent
af9afca777
commit
fcc022d164
42 changed files with 295 additions and 228 deletions
|
|
@ -28,9 +28,9 @@ impl ModuleTrait for Admin {
|
|||
);
|
||||
}
|
||||
|
||||
fn actions(&self) -> Vec<ActionItem> {
|
||||
fn actions(&self) -> Vec<HookItem> {
|
||||
vec![
|
||||
action_item!(ActionBeforeRenderPage => before_render_page)
|
||||
hook_item!(BeforeRenderPageHook => before_render_page)
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue