vendredi 22 mai 2015

Difference between this.get('model') and modelFor

I am quite new to ember and don't really get the difference between two types of syntax. Where and in which situations should i use one or another. I.e. Which one is more suitable for usage in Routes and which one for Controllers.

this.get('model')

As opposed to

this.modelFor('artists/show')




Aucun commentaire:

Enregistrer un commentaire