{"action":"created","issue":{"url":"https://api.github.com/repos/spatie/laravel-paginateroute/issues/7","labels_url":"https://api.github.com/repos/spatie/laravel-paginateroute/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/spatie/laravel-paginateroute/issues/7/comments","events_url":"https://api.github.com/repos/spatie/laravel-paginateroute/issues/7/events","html_url":"https://github.com/spatie/laravel-paginateroute/issues/7","id":122371529,"number":7,"title":"Hide extra pages","user":{"login":"bernardomacedo","id":5430688,"avatar_url":"https://avatars.githubusercontent.com/u/5430688?v=3","gravatar_id":"","url":"https://api.github.com/users/bernardomacedo","html_url":"https://github.com/bernardomacedo","followers_url":"https://api.github.com/users/bernardomacedo/followers","following_url":"https://api.github.com/users/bernardomacedo/following{/other_user}","gists_url":"https://api.github.com/users/bernardomacedo/gists{/gist_id}","starred_url":"https://api.github.com/users/bernardomacedo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bernardomacedo/subscriptions","organizations_url":"https://api.github.com/users/bernardomacedo/orgs","repos_url":"https://api.github.com/users/bernardomacedo/repos","events_url":"https://api.github.com/users/bernardomacedo/events{/privacy}","received_events_url":"https://api.github.com/users/bernardomacedo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-15T21:31:29Z","updated_at":"2015-12-24T09:05:08Z","closed_at":"2015-12-16T08:11:38Z","body":"Thanks again for the great code! Perhaps I am missing something.\r\nIs there a way to have the same visual has the one originally generated by laravel?\r\nI mean, When you have 150 results with the original paginator from laravel, and you decide to split in 10 records per page, the original laravel paginator decides to hide a couple from previous pages or next pages.\r\nEg:\r\nOriginal Laravel on page 8:\r\n<< 1 2 3 ... 7 8 9 ... 13 14 15 >>\r\n\r\nWith spatie:\r\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15\r\n\r\nAlso to decide to place a class or ID to the main <ul></ul> generated would be optimal.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/spatie/laravel-paginateroute/issues/comments/167072673","html_url":"https://github.com/spatie/laravel-paginateroute/issues/7#issuecomment-167072673","issue_url":"https://api.github.com/repos/spatie/laravel-paginateroute/issues/7","id":167072673,"user":{"login":"sebastiandedeyne","id":1561079,"avatar_url":"https://avatars.githubusercontent.com/u/1561079?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastiandedeyne","html_url":"https://github.com/sebastiandedeyne","followers_url":"https://api.github.com/users/sebastiandedeyne/followers","following_url":"https://api.github.com/users/sebastiandedeyne/following{/other_user}","gists_url":"https://api.github.com/users/sebastiandedeyne/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastiandedeyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastiandedeyne/subscriptions","organizations_url":"https://api.github.com/users/sebastiandedeyne/orgs","repos_url":"https://api.github.com/users/sebastiandedeyne/repos","events_url":"https://api.github.com/users/sebastiandedeyne/events{/privacy}","received_events_url":"https://api.github.com/users/sebastiandedeyne/received_events","type":"User","site_admin":false},"created_at":"2015-12-24T09:05:08Z","updated_at":"2015-12-24T09:05:08Z","body":"You're going to have to fork the repository to your own account first, and push the changes there. Afterwards you can send a PR from that repository to this one.\r\n\r\nhttps://help.github.com/articles/using-pull-requests/\r\n\r\n\r\n—Sebastian"}}