Browse Source

fix(http route): fixed dashboard-solo route to not return 404, fixes #2979

Torkel Ödegaard 10 years ago
parent
commit
6fecb4bf3e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      pkg/api/api.go

+ 2 - 0
pkg/api/api.go

@@ -40,7 +40,9 @@ func Register(r *macaron.Macaron) {
 	r.Get("/admin/users/edit/:id", reqGrafanaAdmin, Index)
 	r.Get("/admin/orgs", reqGrafanaAdmin, Index)
 	r.Get("/admin/orgs/edit/:id", reqGrafanaAdmin, Index)
+
 	r.Get("/dashboard/*", reqSignedIn, Index)
+	r.Get("/dashboard-solo/*", reqSignedIn, Index)
 
 	// sign up
 	r.Get("/signup", Index)