Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- App.MyObject = Ember.Object.extend({
- // some attributes
- anyAttribute: DS.attr()
- });
- App.MyRoute = App.Route.extend({
- model: function(){
- // return your object array
- }
- });
- {{#each item in model}}
- {{item.anyAttribute}}
- {{/each}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement