title: Express 4 route not hit
body: <p>I'm running Express 4. Inside app.js I got:</p>
  
  <pre><code>var products = require('./routes/products');
  var app = express();
  app.use('/products', products);
  </code></pre>
  
  <p>Then, in routes/products:</p>
  
  <pre><code>router.get('/', function(req, res) {
      //Some Code. Ok
  });
  
  router.get('/:code', function(req, res) {
      //Some code. Not hit
  });
  </code></pre>
  
  <p>My problem is that the second route is never hit when called with the code parameter, it always hit /</p>
  
  <p><a href="http://localhost:3000/products?code=123" rel="nofollow">http://localhost:3000/products?code=123</a> goes to /</p>
  
  <p>What am I doing wrong?</p>