Device::all() ]); } public function show(Device $device) { return view('devices.show', [ 'device' => $device ]); } }