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