Implement basic routing
This commit is contained in:
1 parent
2112192670
commit
d0e52ddfa6
8 files changed
+67
-17
No files matched your search
+1
-1
@@ -18,7 +18,7 @@ func (h *Handler) dashboard(c *gin.Context) {
|
||||
d := DashboardData{
|
||||
Budgets: budgets,
|
||||
}
|
||||
c.HTML(http.StatusOK, "dashboard.html", d)
|
||||
c.JSON(http.StatusOK, d)
|
||||
}
|
||||
|
||||
type DashboardData struct {
|
||||
|
||||
Reference in new issue
Block a user