/**
  * Update the specified resource in storage.
  *
  * @param  int $id
  * @return Response
  */
 public function update($id, CreateAlbumRequest $request, Album $album)
 {
     $album->find($id)->update($request->all());
     Session::flash('message', 'The Album was successfully Updated!.');
     Session::flash('flash_type', 'alert-success');
     return redirect('albums');
 }
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int $id
  * @return Response
  */
 public function edit($id, Photo $photo, Album $album)
 {
     return view('admin.photos.edit')->with('photo', $photo->find($id))->with('albums', $album->all());
 }