Advertisement
Guest User

Untitled

a guest
Apr 19th, 2014
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. App.MyObject = Ember.Object.extend({
  2. // some attributes
  3. anyAttribute: DS.attr()
  4. });
  5.  
  6. App.MyRoute = App.Route.extend({
  7. model: function(){
  8. // return your object array
  9. }
  10.  
  11. });
  12.  
  13. {{#each item in model}}
  14. {{item.anyAttribute}}
  15. {{/each}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement