Added getDashboardSlugById api

This commit is contained in:
utkarshcmu
2016-03-17 01:01:58 -07:00
parent 9dd6aefcec
commit 66621d762e
5 changed files with 39 additions and 0 deletions
+1
View File
@@ -200,6 +200,7 @@ func Register(r *macaron.Macaron) {
r.Get("/home", GetHomeDashboard)
r.Get("/tags", GetDashboardTags)
r.Post("/import", bind(dtos.ImportDashboardCommand{}), wrap(ImportDashboard))
r.Get("/id/:id", GetDashboardSlugById)
})
// Dashboard snapshots