Modifica la estructura de preparación de una app

This commit is contained in:
Manuel Cillero 2022-05-08 11:10:18 +02:00
parent af9afca777
commit fcc022d164
42 changed files with 295 additions and 228 deletions

View file

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