Updated design for snapshot sharing dialog, #1596

This commit is contained in:
Torkel Ödegaard
2015-03-23 13:58:30 -04:00
parent a5fac17f2b
commit 7614ddb318
5 changed files with 89 additions and 38 deletions

View File

@ -43,6 +43,7 @@ func Register(r *macaron.Macaron) {
// dashboard snapshots
r.Post("/api/snapshots/", bind(m.CreateDashboardSnapshotCommand{}), CreateDashboardSnapshot)
r.Get("/dashboard/snapshots/*", Index)
r.Get("/api/snapshots/:key", GetDashboardSnapshot)
// authed api