amranidev / scaffold-interface

:rocket: A Smart CRUD Generator For Laravel
https://amranidev.github.io/scaffold-interface/docs/
MIT License
911 stars 136 forks source link

Hotfix/prefix-views #155

Closed oscarnascimento closed 6 years ago

oscarnascimento commented 6 years ago

Hi, @amranidev .

I've been worked to get more dynamic the generations of controllers when changed the paths of scaffold config.

Notice that I added two configs: prefixViews and prefixRoutes. Both is used to create the current path of the controller. To do it, I've used some tests, you can check it out. For testing, I needed to change your basic tests, because it just passed on first time, because the files generated was not been deleted after testing.

I apreciate if you test my changes.

amranidev commented 6 years ago

Thank a lot! I really appreciate this. I'll take a look! Thanks!