UI and backend connectivity implemented

This commit is contained in:
utkarshcmu
2016-01-19 05:02:22 -08:00
parent 1ab1154010
commit bcb44b7b31
8 changed files with 108 additions and 2 deletions

View File

@ -69,6 +69,7 @@ func Register(r *macaron.Macaron) {
// dashboard snapshots
r.Get("/dashboard/snapshot/*", Index)
r.Get("/dashboard/snapshots/", reqSignedIn, Index)
// api for dashboard snapshots
r.Post("/api/snapshots/", bind(m.CreateDashboardSnapshotCommand{}), CreateDashboardSnapshot)