public static function getRoutes($context = null)
    {
        if($context == null)
            $context = getenv('ERDIKO_CONTEXT');
        $file = ERDIKO_APP."/config/{$context}/routes.json";
        $applicationConfig = static::getConfigFile($file);
        
        return $applicationConfig['routes'];
    }
public static function getRoutes($context = null)
    {
        if($context == null)
            $context = getenv('ERDIKO_CONTEXT');
        $file = ERDIKO_APP."/config/{$context}/routes.json";
        $applicationConfig = static::getConfigFile($file);
        
        return $applicationConfig['routes'];
    }
public static function getRoutes ( $ context = null ) { if ( $ context == null ) $ context = getenv ( 'ERDIKO_CONTEXT' ) ; $ file = ERDIKO_APP . "/config/{$context}/routes.json" ; $ applicationConfig = static :: getConfigFile ( $ file ) ; return $ applicationConfig [ 'routes' ] ; }
Get the compiled application routes from the config files

@todo cache the loaded/compiled routes
Get the compiled application routes from the config files