title: How to use middleware for a specific route in krakenjs?
body: <p>In the <a href="https://github.com/lensam69/Kraken_Example_Custom_Middleware" rel="nofollow">deploying middleware example</a>, middleware is used with kraken like the following</p>
  
  <pre><code>// index.js
  ...
  app.requestBeforeRoute = function requestBeforeRoute(server) {
    server.use(millionsServed());    
  ...
  };
  </code></pre>
  
  <p>But this way, the middleware is applied for all routes in the app. Suppose I only want to apply it for a specific route like in express like this:</p>
  
  <pre><code>app.get('/user', helpers.ensureAuthenticated, userCtrl.index);
  </code></pre>
  
  <p>How can I do the same with kraken?</p>