Laravel this is not only a practical framework, it is also a programming style
jeudi 22 juin 2017
Laravel routing for a model with more than one key as the primary key
My model has company_id and employee_id as the primary key.
Normally, we use /company/01/edit to edit the company. But how the routing should be for employee? Both company_id and employee_id have to be in the URI.
Aucun commentaire:
Enregistrer un commentaire