mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
fixed method for route update
This commit is contained in:
@@ -23,7 +23,7 @@ func Start(engine *gin.Engine) {
|
|||||||
apps.GET("/routes", handleRouteList)
|
apps.GET("/routes", handleRouteList)
|
||||||
apps.POST("/routes", handleRouteCreate)
|
apps.POST("/routes", handleRouteCreate)
|
||||||
apps.GET("/routes/:route", handleRouteGet)
|
apps.GET("/routes/:route", handleRouteGet)
|
||||||
apps.POST("/routes/:route", handleRouteUpdate)
|
apps.PUT("/routes/:route", handleRouteUpdate)
|
||||||
apps.DELETE("/routes/:route", handleRouteDelete)
|
apps.DELETE("/routes/:route", handleRouteDelete)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user