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