// Get all of our user data
var data = require('../data.json');

exports.view = function(req, res) {
	// controller code goes here
	//var task = req.params.name;
	//console.log('The taskname is: ' + task);
	//res.render('task', {'taskname': task});
	res.render('task', data);
}
@@ -99,179 +99,86 @@
  %7B%0A%09
-// controller code goes here%0A%09//var task = req.params.name;%0A%09//console.log('The taskname is: ' + task);%0A%09//res.render('task', %7B'taskname': task%7D);%0A%09res.render('task', data
+res.render('task', data%5B%22users%22%5D%5B0%5D%5B%22assignments%22%5D%5BparseInt(req.query.index)%5D
 );%0A%7D
+%0A

Update task.js