# Getting Current user route and path

**URL:** <https://meta.discourse.org/t/getting-current-user-route-and-path/56723>\
**Category:** Development\
**Created:** [1 Febrero, 2017 17:17 UTC](https://meta.discourse.org/t/getting-current-user-route-and-path/56723 "2017-02-01T17:17:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [1 Febrero, 2017 18:40 UTC](https://meta.discourse.org/t/getting-current-user-route-and-path/56723/2 "2017-02-01T18:40:23Z")

</div>

If you import `getOwner` you can do this:

```plaintext
const path = getOwner(this).lookup('controller:application').get('currentPath');

```

---

_[View the full topic](https://meta.discourse.org/t/getting-current-user-route-and-path/56723)._
