title: Node.js 404 when retrieving subroutes
body: <p>I am trying to make a node.js site that has multiple routers. The issue I am having is that the url <code>localhost:3000/forms/createForm</code> returns a 404 not found error. I'm pretty new to node so i am not 100% sure what to search for. I am also new to Stack overflow so if I have missed anything let me know :)</p>
  
  <p>Note: my routers have been registered in my app.js file.</p>
  
  <p>project structure:</p>
  
  <pre><code>app
  |-routes
  |    |-index.js
  |    |-forms.js
  |-views
       |-layout
       |-forms
           |-index.hbs
           |-createForm.hbs 
  </code></pre>
  
  <p>Here is my forms.js:</p>
  
  <pre><code>var express = require('express');
  var router = express.Router();
  var mongoose = require('mongoose');
  
  /* GET home page. */
  router.get('/', function(req, res, next) {
      res.render('forms/index', { title: 'Forms' });
  });
  
  router.get('/createForm', function(req, res) {
      res.render('forms/createForm', { title: 'Create Form' })
  });
  
  module.exports = router;
  </code></pre>
  
  <p>And here is the server activity:</p>
  
  <pre><code>GET /forms/ 200 1.461 ms - 2480
  GET /stylesheets/lightTheme.css 304 0.443 ms - -
  GET /forms/createForm 404 5.085 ms - 4039
  GET /stylesheets/lightTheme.css 304 0.508 ms - -
  </code></pre>
  
  <p>App.js:</p>
  
  <pre><code>var formsRouter = require('./routes/forms');
  ...
  app.use('/forms', formsRouter);
  </code></pre>