Skip to content

Commit efcaf8b

Browse files
committed
fix: recreate category delete route (rebase conflict fuckup)
1 parent 42b78e7 commit efcaf8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ pub fn router(state: state::AppState) -> Router {
2323
.route("/categories", get(routes::category::index))
2424
.route("/categories", post(routes::category::create))
2525
.route("/categories/new", get(routes::category::new))
26+
.route("/categories/{id}/delete", get(routes::category::delete))
2627
.route("/logs", get(routes::logs::index))
2728
// Register static assets routes
2829
.nest("/assets", static_router())

0 commit comments

Comments
 (0)