Skip to content

Commit

Permalink
Chapter 4: List of questions
Browse files Browse the repository at this point in the history
  • Loading branch information
ryakh committed Feb 17, 2014
1 parent d1c89c7 commit 1ce63fe
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion js/app.js
Expand Up @@ -6,7 +6,19 @@ App.Router.map(function() {

App.IndexRoute = Ember.Route.extend({
model: function() {
return ['red', 'yellow', 'blue'];
var questions = [
{
title: 'How do I feed hamsters?',
author: 'Tom Dale'
},

{
title: 'Are humans insane?',
author: 'Tomster the Hamster'
}
]

return questions
}
});

Expand Down

0 comments on commit 1ce63fe

Please sign in to comment.