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.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2sZi9ov
via IFTTT

Aucun commentaire:

Enregistrer un commentaire