Skip to content

Commit

Permalink
Merge pull request #2093 from LuckyCyborg/4.0
Browse files Browse the repository at this point in the history
Overall improvements
  • Loading branch information
LuckyCyborg authored Jul 23, 2018
2 parents 86d9600 + 58f07c2 commit fbd7541
Show file tree
Hide file tree
Showing 3 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.75');
define('VERSION', '4.0.76');

//--------------------------------------------------------------------------
// Set PHP Error Reporting Options
Expand Down
2 changes: 1 addition & 1 deletion app/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function boot(Router $router)
$router->macro('paginate', function ($uri, $action, $pageName = 'page') use ($router)
{
return $router->get($uri .'/{pageQuery?}', $action)
->middleware('App\Middleware\SetupRoutePagination')
->middleware('Shared\Pagination\Middleware\SetupRoutePagination')
->where('pageQuery', $pageName .'/[0-9]+');
});

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Middleware;
namespace Shared\Pagination\Middleware;

use Nova\Foundation\Application;
use Nova\Http\Request;
Expand Down

0 comments on commit fbd7541

Please sign in to comment.