/** * Show the form for editing the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id) { $music = Music::where('id', $id)->first(); return view('editsuggestmusic')->with('music_style', MusicStyle::get())->with("music", $music); }