I use Laravel 7, Api routes added automatically. I don't need to add \Igaster\LaravelCities\Geo::ApiRoutes(); in api.php.
After add \Igaster\LaravelCities\Geo::ApiRoutes();. in group routes with prefix 'api'. This prefix don't appears.
But in routes.php use prefix 'geo'.
Please changed prefix to 'api/geo/' in routes.php to use correct path 'api/geo/item/{id}'.
Thank you.
I use Laravel 7, Api routes added automatically. I don't need to add \Igaster\LaravelCities\Geo::ApiRoutes(); in api.php.
After add \Igaster\LaravelCities\Geo::ApiRoutes();. in group routes with prefix 'api'. This prefix don't appears.
But in routes.php use prefix 'geo'.
Please changed prefix to 'api/geo/' in routes.php to use correct path 'api/geo/item/{id}'.
Thank you.