Unverified Commit 7e0649d6 authored by astaxie's avatar astaxie Committed by GitHub

Merge pull request #3289 from nezorflame/patch-1

Remove panic from Redirect()
parents b606f1f7 1a3dcb4f
......@@ -275,7 +275,6 @@ func (c *Controller) viewPath() string {
func (c *Controller) Redirect(url string, code int) {
logAccess(c.Ctx, nil, code)
c.Ctx.Redirect(code, url)
panic(ErrAbort)
}
// Set the data depending on the accepted
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment