From 836e4b4911193dbbbe1d6251cefe97d01ba88310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 15 Apr 2015 10:39:03 +0200 Subject: [PATCH] Dashboard snapshot: Should not require login to view snapshot, Fixes #1780 --- CHANGELOG.md | 1 + pkg/api/api.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a97ed5e4319..e1b7f16eb83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ **Fixes** - [Issue #1782](https://github.com/grafana/grafana/issues/1782). Github OAuth: Now works with Github for Enterprise, thanks @williamjoy +- [Issue #1780](https://github.com/grafana/grafana/issues/1780). Dashboard snapshot: Should not require login to view snapshot, Fixes #1780 # 2.0.0-Beta3 (2015-04-12) diff --git a/pkg/api/api.go b/pkg/api/api.go index d66d6ae24ca..6482beb075c 100644 --- a/pkg/api/api.go +++ b/pkg/api/api.go @@ -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)