title: Node/Express.js - Overriding where to look for the 'Views' folder for each request
body: <p>In my Node/Express.js project I can set the views folder globally like so:</p>
  
  <pre><code>app.configure(function() {
      app.set('views', __dirname + '/views');
      .... snip ....
  });
  </code></pre>
  
  <p>...and all my view templates go into the views folder.</p>
  
  <p><strong>Is it possible to override where Express looks for views on a request by request basis?</strong> For instance, something like the following:</p>
  
  <pre><code>app.get('/', function(req, res) {
      res.render('index', { viewFolder: 'otherViews' });
  });
  </code></pre>
  
  <p>The reason I ask is I'm trying to replicate Microsoft ASP.NET MVC's Areas functionality where each Area gets it's own views folder.</p>