diff --git a/redirect.go b/redirect.go index 2f5585bd..d2d39800 100644 --- a/redirect.go +++ b/redirect.go @@ -42,10 +42,10 @@ const ( // Redirect is a struct that holds the redirect data. type Redirect struct { c *DefaultCtx // Embed ctx - status int // Status code of redirection. Default: StatusFound - messages []string // Flash messages oldInput map[string]string // Old input data cookieConfig CookieConfig // Cookie configuration + messages []string // Flash messages + status int // Status code of redirection. Default: StatusFound } // RedirectConfig A config to use with Redirect().Route()