Add dynamic admin panel for managing entities (#108)
This commit is contained in:
parent
60009df0bf
commit
1a6874fd82
47 changed files with 2173 additions and 320 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