I have a hash defined inside my routes. I want to access this hash and output the values in my Ember view.
route/service-signups.js model: function(){ defaultServiceSignups: { service_1: false, service_2: false, service_3: true } }
In my view (service-signups.hbs), I am trying to iterate through my hash and output the value:
{{#each model.defaultServiceSignups }} {{@key}} Value = {{this}} {{/each}}
Why do I not see anything in the view? It is completely blank.
Aucun commentaire:
Enregistrer un commentaire