var solfege = require('solfegejs');

/**
 * The home controller
 */
var Home = solfege.util.Class.create(function()
{

}, 'website.controllers.Home');
var proto = Home.prototype;

/**
 * Main action
 *
 * @param   {solfege.bundle.server.Request}     request     The request
 * @param   {solfege.bundle.server.Response}    response    The response
 */
proto.index = function*(request, response)
{
    response.parameters.foo = 'bar';

    yield response.render('index.swig');
};


module.exports = Home;

@@ -389,16 +389,47 @@
 onse)%0A%7B%0A
+    response.statusCode = 200;%0A
     resp

Set the status code