/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { $image = Img::find($id); $albums = ImgAlbum::lists('desc', 'id'); return view('admin.album.images.edit', ['image' => $image, 'albums' => $albums]); }