title: how to redirect in node.js
body: <p>I'm having some issues with redirecting between directories, the problem is I can manage to redirect to another file in different directory. My directory structure looks like this:</p>
  
  <pre><code>-views
    -add_user.jade
  
  -routes
    -index.js
  </code></pre>
  
  <p>I try to redirect to <em>add</em>_ <em>user.jade</em> from <em>index.js</em>, how would you guys do it</p>
  
  <pre><code>res.redirect('???');
  </code></pre>
  
  <hr>
  
  <p>If <em>index.js</em> in the same directory as <strong>views</strong>, the code below works</p>
  
  <pre><code>-index.js
  -views
    -add_user.jade
  
  res.redirect('./add_users');
  </code></pre>