diff --git a/http/http.go b/http/http.go index 7866b8d..4b0c1c7 100644 --- a/http/http.go +++ b/http/http.go @@ -53,7 +53,7 @@ func (h *Handler) Serve() { withBudget.GET("/dashboard", h.dashboard) withBudget.GET("/budget/:budgetid", h.budget) withBudget.GET("/budget/:budgetid/accounts", h.accounts) - withBudget.GET("/account/:accountid", h.account) + withBudget.GET("/budget/:budgetid/account/:accountid", h.account) withBudget.GET("/admin", h.admin) withBudget.GET("/admin/clear-database", h.clearDatabase) } diff --git a/web/accounts.html b/web/accounts.html index 2ab7231..b80bf4b 100644 --- a/web/accounts.html +++ b/web/accounts.html @@ -10,7 +10,7 @@ {{define "main"}} {{range .Accounts}}
{{end}}