♻️ Define acciones de forma coherente
This commit is contained in:
parent
a669608783
commit
163302f4ea
26 changed files with 190 additions and 192 deletions
|
|
@ -29,8 +29,8 @@ impl ModuleTrait for Admin {
|
|||
]
|
||||
}
|
||||
|
||||
fn actions(&self) -> Vec<HookAction> {
|
||||
vec![hook_action!(BeforeRenderPageHook => before_render_page)]
|
||||
fn actions(&self) -> Vec<Action> {
|
||||
vec![action!(ActionBeforeRenderPage => before_render_page)]
|
||||
}
|
||||
|
||||
fn configure_service(&self, cfg: &mut server::web::ServiceConfig) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue