I'm still finding my feet with L4 - so may not be the best person to help!
From that github repo page:
New Laravel UrlGenerator dropped support for extra parameters - it means that routes without {page} parameter won't work with pagination
so I think you need to amend your routes and add the {page} placeholder, something like this maybe
Route::get('blog/{page}', function()
{
$posts = Post::orderBy('id', 'DESC')
->paginate(20)
->useCurrentRoute()
->pagesProximity(3);
return View::make('blog')->with('posts', $posts);
});
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community