laravel/framework — pull request #179 by gizmovation (2013-01-27 03:45:24+00:00)
Title: Added a baseUrl attribute to Paginator

Sometimes it is useful to have the pagination links point to a url other than the current url. Ex: When pagination is performed via ajax.

With this update, you can override the url by passing in baseUrl to the Paginator constructor, or by calling setBaseUrl('new-url-here') on the result of a pagination query.