Fix Manifest::get_stats() for new route structure
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -941,7 +941,7 @@ class Manifest
|
||||
}
|
||||
|
||||
$routes = static::get_routes();
|
||||
$stats['routes'] = count($routes['controllers']) + count($routes['api']);
|
||||
$stats['routes'] = count($routes);
|
||||
|
||||
return $stats;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user