Updated as requested

This commit is contained in:
NotZippy
2017-07-06 15:31:43 -07:00
parent 3cf6d5094e
commit e5255cd373
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ type Harness struct {
}
func renderError(iw http.ResponseWriter, ir *http.Request, err error) {
context := revel.NewGOContext(nil)
context := revel.NewGoContext(nil)
context.Request.SetRequest(ir)
context.Response.SetResponse(iw)
c := revel.NewController(context)

View File

@@ -29,7 +29,7 @@ func init() {
revel.ActionInvoker, // Invoke the action.
}
// register startup functions with OnAppStart
// Register startup functions with OnAppStart
// revel.DevMode and revel.RunMode only work inside of OnAppStart. See Example Startup Script
// ( order dependent )
// revel.OnAppStart(ExampleStartupScript)