diff --git a/hello/index.js b/hello/index.js index 819a3cc5..b9106b13 100644 --- a/hello/index.js +++ b/hello/index.js @@ -2,7 +2,7 @@ var app = module.exports = require('derby').createApp('hello', __filename); app.loadViews(__dirname); // Routes render on client as well as server -app.get('/', function(page, model) { +app.get('/', function(page, model, params, next) { // Subscribe specifies the data to sync var message = model.at('hello.message'); message.subscribe(function(err) {