linkTo helper basics

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

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.