-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Reverse routing is panicing on line 324 of router.go
322: for _, route := range router.Routes {
323: // Check that the action matches or is a wildcard.
324: controllerWildcard := route.ControllerName[0] == ':'
325: ...
runtime error: index out of range
The route.ControllerName (and MethodName) never gets assigned for a route with the action is set to 404 (since it cannot be split)
69: actionSplit := strings.Split(action, ".")
70: if len(actionSplit) == 2 {
71: r.ControllerName = actionSplit[0]
72: r.MethodName = actionSplit[1]
73: }
Metadata
Metadata
Assignees
Labels
No labels