1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 09:00:55 +00:00
This commit is contained in:
astaxie 2013-11-26 14:13:23 +08:00
parent f9e732b5ce
commit b16ef12ac0
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ type FilterRouter struct {
regex *regexp.Regexp
filterFunc FilterFunc
hasregex bool
params map[int]string
}
func (mr *FilterRouter) ValidRouter(router string) bool {

View File

@ -20,7 +20,7 @@ func (this *TestController) List() {
}
func (this *TestController) Myext() {
this.Ctx.Output.Body([]byte(this.Ctx.Input.Params(":ext")))
this.Ctx.Output.Body([]byte(this.Ctx.Input.Param(":ext")))
}
func (this *TestController) GetUrl() {