Rollback a change that was committed by mistake to develop branch

This commit is contained in:
NotZippy
2017-04-26 21:04:12 -07:00
parent d68b27ae81
commit e1776bda3c

View File

@@ -47,10 +47,7 @@ type Harness struct {
proxy *httputil.ReverseProxy
}
func renderError(iw http.ResponseWriter, ir *http.Request, err error) {
r,w := &revel.GORequest{Goheader:&revel.GOHeader{}}, &revel.GOResponse{Goheader:&revel.GOHeader{}}
r.Set(ir)
w.Set(iw)
func renderError(w http.ResponseWriter, r *http.Request, err error) {
req, resp := revel.NewRequest(r), revel.NewResponse(w)
c := revel.NewController(req, resp)
c.RenderError(err).Apply(req, resp)