feat(presentation): add POST /reviews/:id/delete handler and route

This commit is contained in:
2026-05-04 14:27:43 +02:00
parent f74a36a16f
commit 977a8ed8fd
2 changed files with 26 additions and 4 deletions

View File

@@ -28,6 +28,7 @@ fn html_routes() -> Router<AppState> {
)
.route("/reviews/new", routing::get(handlers::html::get_new_review_page))
.route("/reviews", routing::post(handlers::html::post_review))
.route("/reviews/:id/delete", routing::post(handlers::html::post_delete_review))
.route("/posters/{path}", routing::get(handlers::posters::get_poster))
.route("/feed.rss", routing::get(handlers::rss::get_feed))
}