'use strict';

var express = require('express');

module.exports = function () {

  var router = express.Router();

  return router;
};

'use strict';

var express = require('express');

var fileRoutes = require('./file.routes');

module.exports = function () {

  var router = express.Router();

  fileRoutes(router);

  return router;
};

Add routes to the router middleware.