Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix undefined table & Class does not exist #12

Closed
wants to merge 3 commits into from
Closed

Conversation

od3n
Copy link

@od3n od3n commented Apr 23, 2017

Fix #9 Run migrate before passport:install
Fix #7 Add namespaces to all routes

@pmccarren
Copy link

Hey! The namespaces are automatically set to \Api\{$DirectoryName}\Controllers\ in this bit of magic.

That snippet is executed for the directories api/* and infrastructure/* and the namespace is added to the route group for the respective directory. For example, @/api/Users/routes.php will be added to the router with prefix Api\Users\Controllers\.

Hopefully that helps!

@od3n od3n closed this Aug 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants