# 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:** 4

<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 19:03 UTC](https://meta.discourse.org/t/getting-current-user-route-and-path/56723/4 "2017-02-01T19:03:57Z")

</div>

The current route is `discovery.category`, and the category is known as a dynamic segment. If you need to know information about the category, you can get it from the controller:

```plaintext
const category = getOwner(this).lookup('controller:discovery.category').get('model');

```

---

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