Skip to content

Commit

Permalink
Merge pull request #2096 from LuckyCyborg/4.0
Browse files Browse the repository at this point in the history
Improve the alternative SEO friendly pagination
  • Loading branch information
LuckyCyborg authored Jul 24, 2018
2 parents f586a67 + 3de52e4 commit ac81ecc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Platform/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// Define The Application Version
//--------------------------------------------------------------------------

define('VERSION', '4.0.78');
define('VERSION', '4.0.79');

//--------------------------------------------------------------------------
// Set PHP Error Reporting Options
Expand Down
4 changes: 2 additions & 2 deletions shared/Pagination/Middleware/SetupRoutePagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

use Nova\Foundation\Application;
use Nova\Http\Request;
use Nova\Pagination\AbstractPaginator;
use Nova\Pagination\Paginator;
use Nova\Pagination\PaginatorInterface;
use Nova\Routing\Route;
use Nova\Support\Arr;

Expand Down Expand Up @@ -66,7 +66,7 @@ public function handle(Request $request, Closure $next)
return 1;
});

Paginator::urlGeneratorResolver(function (PaginatorInterface $paginator)
Paginator::urlGeneratorResolver(function (AbstractPaginator $paginator)
{
return new UrlGenerator($paginator);
});
Expand Down

0 comments on commit ac81ecc

Please sign in to comment.