|
|
|
|
@ -69,7 +69,6 @@ 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) |
|
|
|
|
@ -184,7 +183,7 @@ func Register(r *macaron.Macaron) { |
|
|
|
|
r.Get("/tags", GetDashboardTags) |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
// dashboard snapshots
|
|
|
|
|
// Dashboard snapshots
|
|
|
|
|
r.Group("/dashboard/snapshots", func() { |
|
|
|
|
r.Get("/", wrap(SearchDashboardSnapshots)) |
|
|
|
|
}) |
|
|
|
|
|