var express     = require('express'),
    config      = require('./config'),
    hbs         = require('./lib/hbs'),

    compress     = require('compression'),
    errorhandler = require('errorhandler');

var app = module.exports = express();

app.set('name', 'JS Intl Docs');
app.set('env', config.env);
app.set('port', config.port);
app.enable('strict routing');
app.enable('case sensitive routing');


app.engine(hbs.extname, hbs.engine);
app.set('view engine', hbs.extname);
app.set('views', config.dirs.views);

app.use(express.static(__dirname + '/public'));
app.use(compress());

//When we get a favicon, we can uncomment this line
//app.use(express.favicon(path.join(config.dirs.pub, 'favicon.ico')));


///////////////////////////////////////////
//              Routes                   //
///////////////////////////////////////////

/////// ADD ALL YOUR ROUTES HERE  /////////
app.get('/', function (req, res, next) {
    res.render('home');
});

@@ -207,16 +207,20 @@
 var app 
+    
 = module
@@ -239,16 +239,48 @@
 xpress()
+,%0A    router  = express.Router()
 ;%0A%0Aapp.s
@@ -879,65 +879,30 @@
 //%0A%0A
-/////// ADD ALL YOUR ROUTES HERE  /////////%0Aapp.get('/', 
+router.route('/').get(
 func
@@ -919,14 +919,8 @@
  res
-, next
 ) %7B%0A
@@ -947,8 +947,31 @@
 ');%0A%7D);%0A
+%0Aapp.use('/', router);%0A

add an explicit express.Router() instance