diff --git a/app/RSpade/Commands/Rsx/Manifest_Stats_Command.php b/app/RSpade/Commands/Rsx/Manifest_Stats_Command.php index 125e3a315..38c7f36ac 100755 --- a/app/RSpade/Commands/Rsx/Manifest_Stats_Command.php +++ b/app/RSpade/Commands/Rsx/Manifest_Stats_Command.php @@ -4,6 +4,7 @@ namespace App\RSpade\Commands\Rsx; use App\Console\Commands\FrameworkDeveloperCommand; use App\RSpade\Core\Manifest\Manifest; +use Illuminate\Console\Command; class Manifest_Stats_Command extends FrameworkDeveloperCommand { diff --git a/app/RSpade/Core/Manifest/Manifest.php b/app/RSpade/Core/Manifest/Manifest.php index 17e4cb7a7..47c30b216 100755 --- a/app/RSpade/Core/Manifest/Manifest.php +++ b/app/RSpade/Core/Manifest/Manifest.php @@ -941,7 +941,7 @@ class Manifest } $routes = static::get_routes(); - $stats['routes'] = count($routes['controllers']) + count($routes['api']); + $stats['routes'] = count($routes); return $stats; }