File tree Expand file tree Collapse file tree
src/Mvc/Cli/Commands/Routes Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 "strategy" : " semver" ,
33 "major" : 0 ,
44 "minor" : 9 ,
5- "patch" : 47 ,
5+ "patch" : 48 ,
66 "build" : 0
77}
Original file line number Diff line number Diff line change @@ -124,9 +124,10 @@ private function loadRoutes( string $configPath ): array
124124 {
125125 $ settings = new Yaml ( $ configFile );
126126
127- // Get base path from neuron.yaml
128- $ neuronSettings = file_exists ( $ neuronFile ) ? new Yaml ( $ neuronFile ) : null ;
129- $ basePath = $ neuronSettings ?->get( 'system ' , 'base_path ' ) ?? dirname ( $ configPath );
127+ // Use actual filesystem path
128+ // Don't use system.base_path which is for runtime/container deployment
129+ // If config is in a 'config' directory, use parent; otherwise use config path itself
130+ $ basePath = (basename ($ configPath ) === 'config ' ) ? dirname ($ configPath ) : $ configPath ;
130131
131132 // Get controller paths from configuration
132133 if ( $ configKey === 'controller_paths ' )
Original file line number Diff line number Diff line change 1+ ## 0.9.48 2026-01-14
2+
13## 0.9.47 2026-01-14
24* Fixed routes: list cli command
35
You can’t perform that action at this time.
0 commit comments