include('ringo/webapp/response');

exports.index = function index(req) {
    return skinResponse('skins/chat.html', {
        title: "CometD Chat (RingoJS version)",
        contextPath: req.rootPath.slice(1)
    });
};


var {Response} = require('ringo/webapp/response');

exports.index = function index(req) {
    return Response.skin('skins/chat.html', {
        title: "CometD Chat (RingoJS version)",
        contextPath: req.rootPath.slice(1)
    });
};


Update to current response module
Update to current response module
