|
|
@@ -249,7 +249,7 @@ func (c *Context) String(code int, format string, values ...interface{}) {
|
|
|
|
|
|
// Returns a HTTP redirect to the specific location.
|
|
|
func (c *Context) Redirect(location string, code int) {
|
|
|
- c.Render(code, render.Redirect, location, code)
|
|
|
+ c.Render(code, render.Redirect, location)
|
|
|
}
|
|
|
|
|
|
// Writes some data into the body stream and updates the HTTP code.
|