From 1ce63fed627c04e90c6e76da272ff98db5b559b1 Mon Sep 17 00:00:00 2001 From: Ruslan Yakhyaev Date: Mon, 17 Feb 2014 12:48:02 +0100 Subject: [PATCH] Chapter 4: List of questions --- js/app.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index 8cd333b..4372f87 100755 --- a/js/app.js +++ b/js/app.js @@ -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 } });