Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Lyric Abbott
35,595 Pointshelp
In the Animal Shelter app, we've added a property to the kitten objects called cutenessRating. Make a KittensController that sorts the kittens by their cuteness by default.
code:
AnimalShelter.KittensController = Ember.Controller.extend {{
sortProperties: ['cuteness']
actions: {
sortByCuteness: function() {
this.set('sortProperties',['cuteness']);
}
}
});
http://teamtreehouse.com/library/emberjs/models/challenge-objectcontroller-and-arraycontroller
Dave McFarland
Treehouse TeacherDave McFarland
Treehouse TeacherHi Lyric Abbott
It really helps to format your code correctly. I've mentioned this to you on several occasions, You can learn how to do that here: https://teamtreehouse.com/forum/posting-code-to-the-forum
The other students, forum moderators and teachers at Treehouse spend a lot of time on the forums helping students like yourself who need help. In order to respect their time you should: