为什么我的网址像这样 example.test/blog/paginateroute::paginateroute.page/2
我的路线:
Route::paginate('blog', [ 'as' => 'blog', 'uses' => 'BlogController@index' ] );
观看次数
@if(PaginateRoute::hasPreviousPage())
<a href="{{ PaginateRoute::previousPageUrl() }}"> « </a>
@endif
@if(PaginateRoute::hasNextPage($posts))
<a href="{{ PaginateRoute::nextPageUrl($posts) }}"> » </a>
@endif
什么是删除paginateroute :: paginateroute的解决方案。来自网址?