$redirectTo
Introduction
$redirectTo(string routeName, Object routeArgs = {}) : void
The $redirectTo instance method accepts a route name and its expected parameters. It will generate the appropriate path and redirect the user.
Last updated