Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
astaxie committed Nov 26, 2013
1 parent f9e732b commit b16ef12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion router_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit b16ef12

Please sign in to comment.