When we generate a controller as resource this is onee of the functions we get:
/**
* Display the specified resource.
*
* @param \App\Model $model
* @return \Illuminate\Http\Response
*/
public function show(Model $model)
{
//
}
My question is how do I pass a whole object instead of just an id. is it more convenient?