lundi 1 août 2016

Ember: How to use link-to inside a component

I have a component that contains a link-to. Nice and easy:

//Route



//Component


The problem is sometimes I will pass a model, sometimes I will not. How do I make the model argument optional?




Aucun commentaire:

Enregistrer un commentaire