dimanche 24 juillet 2016

Variable inside link-to template in ember js

I have a variable in my controller called appName that i am calling from url. The format for url is /:appName/configure. I am using tag to redirect in the nav. My question is now do i pass the appName inside link-to. The current code that i have is

<a nohref>Dashboard</a>

Here i should be able to change the testApp with the variable in from controller. Also if i am doing this wrong would appreciate the correct way to do the same




Aucun commentaire:

Enregistrer un commentaire