# linkTo helper basics

**URL:** <https://discuss.emberjs.com/t/linkto-helper-basics/1558>\
**Category:** Uncategorized\
**Created:** [June 19, 2013, 12:58pm UTC](https://discuss.emberjs.com/t/linkto-helper-basics/1558 "2013-06-19T12:58:57Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Surfer](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@Surfer](https://discuss.emberjs.com/u/Surfer)\
**Post date:** [June 20, 2013, 3:37pm UTC](https://discuss.emberjs.com/t/linkto-helper-basics/1558/6 "2013-06-20T15:37:58Z")

</div>

Thanks for the links. I can’t seem to find it mentioning anywhere that you can set classes by typing class=“yourclass”. Maybe I am just missing something. Is it possible to add other tag attributes this way?

On another note, I started a thread about dynamic routes that has now been frozen for some reason: [Dynamic username route](http://discuss.emberjs.com/t/dynamic-username-route/1482)

How would I be able to use the linkTo helper in this use case where my route is dynamic. If I want to link to /username I can’t as ember will only take defined route names. My route looks now like this “this.resource(‘profile’, { path: ‘/:username’ }, function() {”. I can link to profile.index but that creates “/undefined” in the url.

---

_[View the full topic](https://discuss.emberjs.com/t/linkto-helper-basics/1558)._
