How to obtain object id when submitting a form when using Form Model Binding of Laravel

52 Views Asked by At

So this is what I have in my blade file:

{!! Form::model($bag, ['action' => 'BagController@crudBag', 'id' => $bag->id]) !!}

How do I obtain the id in the BagController@crudBag?

0

There are 0 best solutions below