Skip to content

Commit b7fbe57

Browse files
committed
Merge pull request #27 from syscrusher/fix-ace-params
Ace: changed param method
2 parents 4b5901e + abdfe1f commit b7fbe57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func httpHandlerFunc(w http.ResponseWriter, r *http.Request) {}
9696
func aceHandle(_ *ace.C) {}
9797

9898
func aceHandleWrite(c *ace.C) {
99-
io.WriteString(c.Writer, c.Params.ByName("name"))
99+
io.WriteString(c.Writer, c.Param("name"))
100100
}
101101

102102
func loadAce(routes []route) http.Handler {

0 commit comments

Comments
 (0)