# How to use navigateToRoute

**URL:** <https://discourse.aurelia.io/t/how-to-use-navigatetoroute/2581>\
**Category:** Help Requests\
**Created:** [May 23, 2019, 9:05am UTC](https://discourse.aurelia.io/t/how-to-use-navigatetoroute/2581 "2019-05-23T09:05:52Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![jeffgrann](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/jeffgrann/32/43_2.png) [@jeffgrann](https://discourse.aurelia.io/u/jeffgrann)\
**Post date:** [May 23, 2019, 4:05pm UTC](https://discourse.aurelia.io/t/how-to-use-navigatetoroute/2581/5 "2019-05-23T16:05:01Z")

</div>

In plain ES6:

```
 import {inject} from 'aurelia-framework';
 import {Router} from 'aurelia-router';
 
 @inject(Router)
 export class MyClass {
      constructor(router) {
           this.router = router;
      }
 
      someMethod() {
            this.router.navigateToRoute(.....);
      }
 }
```

---

_[View the full topic](https://discourse.aurelia.io/t/how-to-use-navigatetoroute/2581)._
