Initial commit of admin panel.
This commit is contained in:
parent
c8db468292
commit
33e98f9a9e
8 changed files with 466 additions and 7 deletions
|
|
@ -41,7 +41,7 @@ func (r *Redirect) Params(params ...any) *Redirect {
|
|||
return r
|
||||
}
|
||||
|
||||
// StatusCode sets the HTTP status code which defaults to http.StatusFound.
|
||||
// StatusCode sets the HTTP status code which defaults to http.StatusTemporaryRedirect.
|
||||
// Does not apply to HTMX redirects.
|
||||
func (r *Redirect) StatusCode(code int) *Redirect {
|
||||
r.status = code
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue