old_contents: 'use strict';
  
  var express = require('express');
  var router = express.Router();
  var mainController = new (require('../controllers/Main'))();
  var templateController = new (require('../controllers/Template'))();
  var portfolioController = new (require('../controllers/Portfolio'))();
  
  
  /* GET main page. */
  router.get('/', mainController.run);
  
  /* GET main page. */
  router.get('/template/select', templateController.run);
  
  /* GET portfolio select page */
  router.get('/portfolio/select', portfolioController.getAllPortfolio);
  
  /* GET user portfolio page */
  router.get('/user/:id', portfolioController.getUserPortfolio);
  
  /* GET make portfolio page */
  router.get('/user/:id/make/:template', portfolioController.makeUserPortfolio);
  
  /* GET portfolio edit page */
  router.get('/user/:id/edit/:portfolio', portfolioController.editUserPortfolio);
  
  module.exports = router;
  
new_contents: 'use strict';
  
  var express = require('express');
  var router = express.Router();
  var mainController = new (require('../controllers/Main'))();
  var templateController = new (require('../controllers/Template'))();
  var portfolioController = new (require('../controllers/Portfolio'))();
  
  
  /* GET main page */
  router.get('/', mainController.run);
  
  /* GET template select page */
  router.get('/template/select', templateController.run);
  
  /* GET user portfolio page */
  router.get('/user/:id', portfolioController.getUserPortfolio);
  
  /* GET make portfolio page */
  router.get('/user/:id/make/:template', portfolioController.makeUserPortfolio);
  
  /* GET portfolio edit page */
  router.get('/user/:id/edit/:portfolio', portfolioController.editUserPortfolio);
  
  module.exports = router;
  
subject: Update index