title: Jade layout can not be found in subdirectory
body: <h2>My settings:</h2>
  
  <p>My directory structrue looks like this:</p>
  
  <pre><code>/views/
     |-- index.jade
     |-- layout.jade
     /account/
        |-- login.jade
        |-- register.jade
  </code></pre>
  
  <p>I have configured my view engine as follows:</p>
  
  <pre><code>app.set('view engine', 'jade');
  </code></pre>
  
  <p><em>Edit:</em> I also have </p>
  
  <pre><code>app.set('views', __dirname + '/views');
  </code></pre>
  
  <p>My controllers look like:</p>
  
  <pre><code>app.get('/login', redirectIfLogined, function(req, res){
      res.render('account/login', { title: "Login", redir: req.query.redir});
  });
  
  app.get('/register', redirectIfLogined, function(req, res) {
      res.render('account/register', { title: "Register"});
  });
  </code></pre>
  
  <hr>
  
  <h2>My issue</h2>
  
  <p>With settings as described I am getting a 500 error:</p>
  
  <pre><code>500 Error: failed to locate view "layout"
  at Function.compile (D:\dev\Azznomad\express-template\node_modules\express\lib\view.js:58:15)
  at ServerResponse._render (D:\dev\Azznomad\express-template\node_modules\express\lib\view.js:414:18)
  at ServerResponse.render (D:\dev\Azznomad\express-template\node_modules\express\lib\view.js:315:17)
  at ServerResponse._render (D:\dev\Azznomad\express-template\node_modules\express\lib\view.js:429:10)
  at ServerResponse.render (D:\dev\Azznomad\express-template\node_modules\express\lib\view.js:315:17)
  at D:\dev\Azznomad\express-template\controllers\accountController.js:6:13
  at callbacks (D:\dev\Azznomad\express-template\node_modules\express\lib\router\index.js:272:11)
  at D:\dev\Azznomad\express-template\modules\middleware\account.js:27:9
  at callbacks (D:\dev\Azznomad\express-template\node_modules\express\lib\router\index.js:272:11)
  at param (D:\dev\Azznomad\express-template\node_modules\express\lib\router\index.js:246:11)
  </code></pre>
  
  <p>As soon as I am copying my <code>layout.jade</code> file into the <code>/account/</code> folder it works perfectly. Unfortunately this would make no sense since it forced me to have redundant layout files.</p>
  
  <p><strong>What am I missing?</strong></p>
  
  <hr>
  
  <p><em>Btw. this code snipplets are from AzzNomad's <a href="https://github.com/AzzNomad/express-template">express/mongoose template</a> which is very helpful in order to learn express with mongoose.</em></p>