Use RESTful controllers to turn your routes into more structured and clean one-line code. I saw it as a simpler and cleaner way than using 6 to 8 routes like: route::get(''); , route::post(''); ,... for example.

Resource controllers make it effortless to build RESTful controllers around resources. Although some documentation state that Resource controllers and RESTful controllers refer to the same thing.

I eventually changed the RESTful controller method into using different routes for all the shows, edits, updates, destroys.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners