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

const MODEL doesn't respect namespace from --path option #43

Open
ShaunaGordon opened this issue Aug 10, 2017 · 0 comments
Open

const MODEL doesn't respect namespace from --path option #43

ShaunaGordon opened this issue Aug 10, 2017 · 0 comments

Comments

@ShaunaGordon
Copy link

I ran into this when creating resources from a resource file, though it may happen with the other commands.

If I run php artisan wn:resources [file] --path="app/Models"

I would expect the models to be put into a Models folder (which happens), and the const MODEL value in the associated controller to be set to "App\Model\[model]" (which does not happen, it remains as "App\[model]").

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

No branches or pull requests

1 participant