TheFootballSocialClub/FSCHateoasBundle — pull request #62 by ajgarlag (2013-07-11 10:55:24+00:00)
Title: Avoid linking to page 0

When a pager has no data, the generated url for `last` rel has a query param `page` with a value of `0`.

When you visit this link and try to set the current page, an exception thrown because the `PagerFanta::setCurrentPage` does not allow a value lower than `1`.

So, when the pager is empty, the `last` rel link `page` param should be `1`