Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed README file
  • Loading branch information
eko committed Feb 26, 2017
1 parent c583202 commit cef5909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -63,7 +63,7 @@ func main() {
app.Post("add", "/add/([a-zA-Z]+)$", func(context gofast.Context) {
request := context.GetRequest()

pattern := request.GetRoute().GetPattern()
pattern := app.GetRoute().GetPattern()
url := request.GetHttpRequest().URL.Path

request.AddParameter("name", pattern.FindStringSubmatch(url)[1])
Expand Down

0 comments on commit cef5909

Please sign in to comment.