fix dashboards routes

pull/808/head
Jade McGough 2017-01-27 04:59:13 -08:00
parent fdb6de3503
commit 154f6f312c
1 changed files with 2 additions and 2 deletions

View File

@ -115,8 +115,8 @@ func NewMux(opts MuxOpts, service Service) http.Handler {
router.POST("/chronograf/v1/dashboards", service.NewDashboard)
router.GET("/chronograf/v1/dashboards/:id", service.DashboardID)
router.DELETE("/chronograf/v1/dashboard/:id", service.RemoveDashboard)
router.PUT("/chronograf/v1/dashboard/:id", service.UpdateDashboard)
router.DELETE("/chronograf/v1/dashboards/:id", service.RemoveDashboard)
router.PUT("/chronograf/v1/dashboards/:id", service.UpdateDashboard)
/* Authentication */
if opts.UseAuth {