mirror of
https://github.com/astaxie/beego.git
synced 2025-07-15 19:52:16 +00:00
when Redirect delete output
This commit is contained in:
@@ -26,7 +26,6 @@ func (ctx *Context) Abort(status int, body string) {
|
||||
func (ctx *Context) Redirect(status int, url_ string) {
|
||||
ctx.ResponseWriter.Header().Set("Location", url_)
|
||||
ctx.ResponseWriter.WriteHeader(status)
|
||||
ctx.ResponseWriter.Write([]byte("Redirecting to: " + url_))
|
||||
}
|
||||
|
||||
func (ctx *Context) NotModified() {
|
||||
|
Reference in New Issue
Block a user