• liulixiang1988's avatar
    improve the 'geturl' · 118e0715
    liulixiang1988 authored
    If we have a url mapping like this:
    `beego.Router(“/test”, &controllers.WeightController{},
    "get:GetDetails”)`
    when u use `UrlFor(“WeightController.GetDetails”, “foo”, 1, “bar”, 2 `,
    it should return `/test?foo=1&bar=2` rather than `/test`.
    118e0715
router.go 23.7 KB