Dashboard snapshot: Should not require login to view snapshot, Fixes #1780

This commit is contained in:
Torkel Ödegaard
2015-04-15 10:39:03 +02:00
parent e9afd30b47
commit 836e4b4911
2 changed files with 2 additions and 1 deletions

View File

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