summaryrefslogtreecommitdiff
path: root/cmd/dashboard
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dashboard')
-rw-r--r--cmd/dashboard/main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go
index 6c735d8..a02ece4 100644
--- a/cmd/dashboard/main.go
+++ b/cmd/dashboard/main.go
@@ -182,6 +182,10 @@ func main() {
// Shopping quick-add
r.Post("/shopping/add", h.HandleShoppingQuickAdd)
r.Post("/shopping/toggle", h.HandleShoppingToggle)
+
+ // Shopping mode (focused single-store view)
+ r.Get("/shopping/mode/{store}", h.HandleShoppingMode)
+ r.Post("/shopping/mode/{store}/toggle", h.HandleShoppingModeToggle)
})
// Start server