kEpEx / laravel-crud-generator

php artisan command to generate fully working crud with grid paginated server side only by having database tables
MIT License
98 stars 44 forks source link

Where is the router? #10

Closed ecojuntak closed 7 years ago

ecojuntak commented 7 years ago

Hi, I just trying use your package, is so cool.

But, I confuse where the router? for example, when I wanna access /create, but the /create not register in my router.

Explain me, please, Thank you

kEpEx commented 7 years ago

Hey, sorry for the late response, basically the generator add a generic controller route, so we dont need to specify individual routes for every method, you can use naming convention for the methods in the controller, so if you want to customize those names, you just need to change the name of the method, I hope i was clear.

See implicit controllers in the laravel documentation:

https://laravel.com/docs/5.1/controllers#implicit-controllers