# כיצד למצוא נתיבים או להשתמש ב-URL יחסי הכולל שדות דינמיים

**URL:** <https://meta.discourse.org/t/how-to-find-routes-or-use-relative-url-that-includes-dynamic-fields/208252>\
**Category:** Product Support\
**Created:** [4 בנובמבר,‏ 2021,‏ 2:37pm UTC](https://meta.discourse.org/t/how-to-find-routes-or-use-relative-url-that-includes-dynamic-fields/208252 "2021-11-04T14:37:38Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
**Post date:** [4 בנובמבר,‏ 2021,‏ 6:06pm UTC](https://meta.discourse.org/t/how-to-find-routes-or-use-relative-url-that-includes-dynamic-fields/208252/4 "2021-11-04T18:06:34Z")

</div>

Hello,

I am also using Discourse Tab Bar and Follow plugin. I also added the `/my/follow/feed` url to Discourse Tab Bar. The tab activation didn’t work on my forum too 😁 Now I made a little css hack to make this work.

I target the current body class which is `.user-follow-page` this help us to keep the css modification on follow page. With this class we can easily target the relevant Discourse Tab Bar tab.

What we have to do is change the stucked active tab color to the default _(non active)_ and add the active tab color to that tab which has the `data-destination` `/my/follow/feed`.

data-destination is the url you set up in the Tab Bar theme component to tabs.

Add this to a new component mobile css section.

```plaintext
body.user-follow-page {
  .d-tab-bar {
    .tab {
      &.active {
        color: var(--primary-medium);
      }
      &[data-destination="/my/follow/feed"] {
        color: var(--tertiary);
      }
    }
  }
}

```

* * *

> [@Mr.X\_Mr.X](#):
>
> How can i find the list of all the predefined routes? (if there even is such a list)

I believe this is it [discourse/app/assets/javascripts/discourse/app/routes/app-route-map.js at 9d5da2b383765becb824a8f3ff3665abc8e527fa · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/9d5da2b383765becb824a8f3ff3665abc8e527fa/app/assets/javascripts/discourse/app/routes/app-route-map.js)

---

_[View the full topic](https://meta.discourse.org/t/how-to-find-routes-or-use-relative-url-that-includes-dynamic-fields/208252)._
