redirectTo()
redirectTo(string $route = null) : void
Redirect to current or another route.
Parameters
| string | $route | the route to redirect to, null to redirect to current route, "" to redirect to baseurl. |
Helpers for redirecting to other pages and controllers.