Use same template for account and all-accounts

This commit is contained in:
2021-12-10 16:38:10 +00:00
parent 4cd81592e4
commit e0eeaadc60
3 changed files with 9 additions and 36 deletions

View File

@ -58,7 +58,7 @@ func (h *Handler) Serve() {
withBudget.Use(h.getImportantData)
withBudget.GET("/budget/:budgetid", h.budgeting)
withBudget.GET("/budget/:budgetid/:year/:month", h.budgeting)
withBudget.GET("/budget/:budgetid/all-accounts", h.budget)
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)