Skip to content

Commit

Permalink
Fixed grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelThessel authored Aug 14, 2016
1 parent 46ea257 commit cb94a13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions en-US/mvc/controller/router.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ In order to make the router settings easier, Beego references the router impleme

- beego.Router("/api/?:id", &controllers.RController{})

*default matching* /api/123 :id = 123 *can matching* /api/
*default matching* /api/123 :id = 123 *can match* /api/

- beego.Router("/api/:id", &controllers.RController{})

*default matching* /api/123 :id = 123 *can't matching* /api/
*default matching* /api/123 :id = 123 *can't match* /api/

- beego.Router("/api/:id([0-9]+)", &controllers.RController{})

Expand Down

0 comments on commit cb94a13

Please sign in to comment.