Skip to content

Commit abdfe1f

Browse files
committed
Update Ace - changed param method plimble/ace@19fe5ca
1 parent 4b5901e commit abdfe1f

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)