Cosmetic changes

This commit is contained in:
Manu Mtz-Almeida
2015-03-23 06:03:12 +01:00
parent 3e3ced70d4
commit 48fec0650d
7 changed files with 34 additions and 20 deletions
+1 -1
View File
@@ -362,7 +362,7 @@ func (c *Context) Redirect(code int, location string) {
if code >= 300 && code <= 308 {
c.Render(code, render.Redirect, location)
} else {
panic(fmt.Sprintf("Cannot send a redirect with status code %d", code))
log.Panicf("Cannot send a redirect with status code %d", code)
}
}