feat: Refactoring route declarations.

This commit is contained in:
2025-01-19 10:52:15 -05:00
parent d27a19863a
commit 1c8748211c
20 changed files with 954 additions and 644 deletions

View File

@@ -27,7 +27,7 @@ struct PurchaseOrderForm: HTML {
}
}
form(
.hx.post(route: .purchaseOrders()),
.hx.post(route: .purchaseOrder(.shared(.index))),
.hx.target(.purchaseOrders(.table)),
.hx.swap(.afterBegin),
.customToggleFloatAfterRequest