expressjs/express-paginate — pull request #4 by mmarchini (2014-09-04 16:27:28+00:00)
Title: Chage paginate.href(req) to use .originalUrl instead of url

If paginate.href(req) uses "url", it doesn't work when paginating inside routers.
For example:

```javascript
app.use(paginate(10,50));

var router = express.Router();
router.route("/list");

app.use("/myroute", router);
```

When accessing "/myroute/list", `paginate.href()` will return `Next`, when it should return `Next`.