Response::redirect()
Adjusted redirect creation which parses locations with the Url::to method first.
Response::redirect(string $location = '/', int $code = 302): Kirby\Cms\Response
Parameters
| Name | Type | Default |
|---|---|---|
| $location | string |
'/' |
| $code | int |
302 |