719f94b3 by astaxie

fix findrouter & template mix

1 parent db525cba
......@@ -399,7 +399,7 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request)
}
//if no matches to url, throw a not found exception
if w.started == false {
if !findrouter {
if h, ok := ErrorMaps["404"]; ok {
h(w, r)
} else {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!