Fixed typo. join -> john

This commit is contained in:
Josh Horowitz 2016-01-14 15:58:17 -05:00
parent 52fcc5dbf6
commit c5c806d22d
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ func main() {
}) })
// However, this one will match /user/john/ and also /user/john/send // 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) { router.GET("/user/:name/*action", func(c *gin.Context) {
name := c.Param("name") name := c.Param("name")
action := c.Param("action") action := c.Param("action")