Fixed links to user admin views, and backend html routes for user admin edit/create urls, Closes #1451

This commit is contained in:
Torkel Ödegaard
2015-02-10 16:26:23 +01:00
parent e165e2af95
commit add4adeec9
2 changed files with 4 additions and 2 deletions

View File

@ -31,6 +31,8 @@ func Register(r *macaron.Macaron) {
r.Get("/account/apikeys/", reqSignedIn, Index)
r.Get("/account/import/", reqSignedIn, Index)
r.Get("/admin/users", reqGrafanaAdmin, Index)
r.Get("/admin/users/create", reqGrafanaAdmin, Index)
r.Get("/admin/users/edit/:id", reqGrafanaAdmin, Index)
r.Get("/dashboard/*", reqSignedIn, Index)
// sign up