You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! First of all, I want to thank you for your great tutorial about REST API development and for providing this fork.
I don't know if this is a bug or not but when developing in Windows I encounter an error regarding routes, the error says Class Api\:\path\larapi\api\Users\Controllers\UserController does not exist.
Hi! First of all, I want to thank you for your great tutorial about REST API development and for providing this fork.
I don't know if this is a bug or not but when developing in Windows I encounter an error regarding routes, the error says
Class Api\:\path\larapi\api\Users\Controllers\UserController does not exist
.In this line of codes https://github.com/esbenp/larapi/blob/master/config/optimus.components.php#L5-L6, I manage to fix the error by removing
base_path()
so it should look like this
'namespaces' => [ 'Api' => DIRECTORY_SEPARATOR . 'api', 'Infrastructure' => DIRECTORY_SEPARATOR . 'infrastructure' ],
The text was updated successfully, but these errors were encountered: