var path = require('path'),
  fs = require('fs');

var routes = function (app) {
  fs.readdirSync(__dirname).filter(function (file) {
    return path.join(__dirname, file) != __filename;
  }).forEach(function (file) {
      require('./' + path.basename(file))(app);
    });
}

module.exports = routes;

var path = require('path'),
    fs = require('fs');

var routes = function(app) {
    fs.readdirSync(__dirname).filter(function(file) {
        return path.join(__dirname, file) != __filename;
    }).forEach(function(file) {
        require('./' + path.basename(file))(app);
    });
}

module.exports = routes;

Indent by 4 spaces instead of 2
Indent by 4 spaces instead of 2
