Merge pull request #2949 from shoonoise/master

Add option to hide raintank share button

Fixes #2727
This commit is contained in:
Carl Bergquist
2015-12-14 17:29:09 +01:00
7 changed files with 43 additions and 5 deletions

View File

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