More things before going to fix my backyard.

This commit is contained in:
didier amyot committed 2023-04-07 09:58:22 -04:00
1 parent a980b1a9b1
commit fe32c526eb
15 files changed
+199 -71

No files matched your search

+3 -3
View File
@@ -62,8 +62,8 @@ pub async fn security(tmpl_env: MiniJinjaRenderer,
tmpl_env.render("security.html", ctx)
}
#[actix_web::get("/overview")]
pub async fn overview(
#[actix_web::get("/users")]
pub async fn users(
tmpl_env: MiniJinjaRenderer,
service_factory: web::Data<ServicesFactory>,
) -> actix_web::Result<impl Responder> {
@@ -74,7 +74,7 @@ pub async fn overview(
let ctx = context! {
users => users,
};
tmpl_env.render("overview.html", ctx)
tmpl_env.render("users.html", ctx)
}
#[actix_web::get("/partials/overview/submit_button")]