💥 Replace action! macro with actions!
This commit is contained in:
parent
507015d5c9
commit
c50cfa985f
8 changed files with 22 additions and 15 deletions
|
|
@ -30,7 +30,7 @@ impl ModuleTrait for Admin {
|
|||
}
|
||||
|
||||
fn actions(&self) -> Vec<Action> {
|
||||
vec![action!(ActionBeforePrepareBody => before_prepare_body)]
|
||||
actions![ActionBeforePrepareBody::with(before_prepare_body)]
|
||||
}
|
||||
|
||||
fn configure_service(&self, scfg: &mut service::web::ServiceConfig) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue