Fixed typo. join -> john

This commit is contained in:
Josh Horowitz 2016-01-14 15:58:17 -05:00
parent 52fcc5dbf6
commit c5c806d22d

View File

@ -128,7 +128,7 @@ func main() {
})
// However, this one will match /user/john/ and also /user/john/send
// If no other routers match /user/john, it will redirect to /user/join/
// If no other routers match /user/john, it will redirect to /user/john/
router.GET("/user/:name/*action", func(c *gin.Context) {
name := c.Param("name")
action := c.Param("action")