# RouteManager

From any of your Controller or Components you can redirect to a route for that you'll have to call&#x20;

```javascript
PLASMA.routeManager.redirectTo("myRouteName"
```

You can also get the params values using :&#x20;

```javascript
PLASMA.routeManager.getRoutesData().id
```

in the case above we want the value of the param called id

### From TWIG

You can get the routeName from TWIG using : getRouter()

You can redirect create a link to a route using this {{ path("myRouteName") }}
