fixed method for route update

This commit is contained in:
Pedro Nasser
2016-07-30 18:16:50 -03:00
parent 9a69156631
commit a3fa0c4e38

View File

@@ -23,7 +23,7 @@ func Start(engine *gin.Engine) {
apps.GET("/routes", handleRouteList)
apps.POST("/routes", handleRouteCreate)
apps.GET("/routes/:route", handleRouteGet)
apps.POST("/routes/:route", handleRouteUpdate)
apps.PUT("/routes/:route", handleRouteUpdate)
apps.DELETE("/routes/:route", handleRouteDelete)
}