Since Hapi 2.0, the way you handle a route has changed a bit. Now, you have to grab a reply
from the parameters in your function:
server.route({
method: 'GET',
path: '/hello',
handler: function (request, reply) {
reply('hello world');
}
});
I think it was already possible before but it wasn't mandatory.
More informations: https://github.com/spumko/hapi/blob/master/docs/Reference.md#reply-interface