mirror of
https://github.com/astaxie/beego.git
synced 2024-11-23 20:40:55 +00:00
Fix generated code 4384
This commit is contained in:
parent
3d93903f9e
commit
9418b243d0
@ -500,7 +500,7 @@ func genRouterCode(pkgRealpath string) {
|
||||
beego.GlobalControllerRouter["` + k + `"] = append(beego.GlobalControllerRouter["` + k + `"],
|
||||
beego.ControllerComments{
|
||||
Method: "` + strings.TrimSpace(c.Method) + `",
|
||||
` + `Router: "` + c.Router + `"` + `,
|
||||
` + "Router: `" + c.Router + "`" + `,
|
||||
AllowHTTPMethods: ` + allmethod + `,
|
||||
MethodParams: ` + methodParams + `,
|
||||
Filters: ` + filters + `,
|
||||
|
Loading…
Reference in New Issue
Block a user