samedi 11 avril 2015

Ember.js injected object as controller property for templates

After login I inject an object to all routes and controllers.


Now I want to show some of its values in a template.


For each controller where I want to display these user values I now have to create a computed property.


Is there a way to get this automatically done?





Aucun commentaire:

Enregistrer un commentaire