Laravel: Two Routes - Resource or Single Get Routes?

If you have only index() and show() methods in the Controller, is it better to have two single routes or use the Resource Controller? Links mentioned in the video: - Docs: Actions Handled By Resource Controller #actions-handled-by-resource-controller - “Cruddy by Design“ - Adam Wathan - Laracon US 2017 - My article “CRUDdy By Design by Adam Wathan: Summary, Examples, Opinions“ - - - - - Support the channel by checking out my products: - My Laravel courses: - Filament examples: - Livewire Kit Components: - - - - - Other places to follow: - My weekly Laravel newsletter: - My personal Twitter:
Back to Top