2
Good morning, I have in my application 10 different tables, but it has the same structure... id
| nome
| descricao
. For each table I have in the Model
, the Controller
and the Views
registration, listing and editing. I wonder if you have any way to use the same Model
, Controller
and View
to manage all this, or if you have to minimize it somehow, as it has many similar files and I don’t think this is really necessary, just lack knowledge.
Perhaps, with a little creativity, this can help you https://laravel.com/docs/master/routing#route-model-Binding
– Wallace Maxters