Add settings page linking to clean and clear

This commit is contained in:
2021-12-10 16:39:44 +00:00
parent e0eeaadc60
commit 8116238d48
4 changed files with 36 additions and 3 deletions

View File

@ -61,8 +61,9 @@ func (h *Handler) Serve() {
withBudget.GET("/budget/:budgetid/all-accounts", h.allAccounts)
withBudget.GET("/budget/:budgetid/accounts", h.accounts)
withBudget.GET("/budget/:budgetid/account/:accountid", h.account)
withBudget.GET("/budget/:budgetid/clear", h.clearBudget)
withBudget.GET("/budget/:budgetid/clean-negative", h.cleanNegativeBudget)
withBudget.GET("/budget/:budgetid/settings", h.settings)
withBudget.GET("/budget/:budgetid/settings/clear", h.clearBudget)
withBudget.GET("/budget/:budgetid/settings/clean-negative", h.cleanNegativeBudget)
api := router.Group("/api/v1")