💥 Replace action! macro with actions!

This commit is contained in:
Manuel Cillero 2023-09-03 09:00:00 +02:00
parent 507015d5c9
commit c50cfa985f
8 changed files with 22 additions and 15 deletions

View file

@ -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) {