summaryrefslogtreecommitdiff
path: root/kitchen/urls_htmx.py
diff options
context:
space:
mode:
Diffstat (limited to 'kitchen/urls_htmx.py')
-rw-r--r--kitchen/urls_htmx.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kitchen/urls_htmx.py b/kitchen/urls_htmx.py
index 5c11447..1feb76c 100644
--- a/kitchen/urls_htmx.py
+++ b/kitchen/urls_htmx.py
@@ -10,11 +10,11 @@ urlpatterns = [
# HTMX partials — pantry
path("pantry/add/", views_htmx.pantry_add, name="app-pantry-add"),
+ path("pantry/search/", views_htmx.pantry_search, name="app-pantry-search"),
+ path("pantry/<int:item_id>/state/", views_htmx.pantry_set_state, name="app-pantry-set-state"),
path("pantry/<int:item_id>/delete/", views_htmx.pantry_delete, name="app-pantry-delete"),
path("pantry/<int:item_id>/move/", views_htmx.pantry_move, name="app-pantry-move"),
- path("pantry/<int:item_id>/edit-expiry/", views_htmx.pantry_edit_expiry, name="app-pantry-edit-expiry"),
path("pantry/<int:item_id>/save-expiry/", views_htmx.pantry_save_expiry, name="app-pantry-save-expiry"),
- path("pantry/cancel-edit/", views_htmx.pantry_cancel_edit, name="app-pantry-cancel-edit"),
# HTMX partials — shopping
path("shopping/generate/", views_htmx.shopping_generate, name="app-shopping-generate"),