forked from mirror/gin
Fixed typo. join -> john
This commit is contained in:
parent
52fcc5dbf6
commit
c5c806d22d
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue