Merge pull request #11232 from grafana/11231_dash_url

Should be possible to browse dashboard using only uid
This commit is contained in:
Carl Bergquist
2018-03-14 14:18:58 +01:00
committed by GitHub
2 changed files with 12 additions and 0 deletions
+1
View File
@@ -66,6 +66,7 @@ func (hs *HttpServer) registerRoutes() {
r.Get("/plugins/:id/page/:page", reqSignedIn, Index)
r.Get("/d/:uid/:slug", reqSignedIn, Index)
r.Get("/d/:uid", reqSignedIn, Index)
r.Get("/dashboard/db/:slug", reqSignedIn, redirectFromLegacyDashboardUrl, Index)
r.Get("/dashboard/script/*", reqSignedIn, Index)
r.Get("/dashboard-solo/snapshot/*", Index)