You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`this.next()`**must be called** to resolve the middleware and either go to the next middleware or resolve the route
205
209
206
-
*`this.redirectTo(<string>, [params])` can be called to immediately redirect to a given path _(ngRoute)_ or state name _(ui.router)_.
207
-
An optional params object can be provided which will be used to populate query parameters _(ngRoute)_ or `$stateParams`_(ui.router)_.
210
+
*`this.redirectTo(dest [,params [,options]])` can be called to immediately redirect
211
+
* **dest** (required): A path _(ngRoute)_ or state name _(ui.router)_ to redirect to
212
+
* **params** (optional): A params object to be used to populate query parameters _(ngRoute)_ or `$stateParams` _(ui.router)_
213
+
* **options** (optional): An object of [transitionTo](https://github.com/angular-ui/ui-router/wiki/Quick-Reference#statetransitiontoto-toparams--options) options (only used with ui.router)
208
214
209
215
*`this.params` is an object that contains the current route parameters
0 commit comments