public function update(PhotoAlbum $album, Request $request)
    {
        $attributes = request()->validate(PhotoAlbum::$rules, PhotoAlbum::$messages);

        $album = $this->updateEntry($album, $attributes);

        return redirect_to_resource();
    }
public function update(PhotoAlbum $album, Request $request)
    {
        $attributes = request()->validate(PhotoAlbum::$rules, PhotoAlbum::$messages);

        $album = $this->updateEntry($album, $attributes);

        return redirect_to_resource();
    }
public function update ( PhotoAlbum $ album , Request $ request ) { $ attributes = request ( ) -> validate ( PhotoAlbum :: $ rules , PhotoAlbum :: $ messages ) ; $ album = $ this -> updateEntry ( $ album , $ attributes ) ; return redirect_to_resource ( ) ; }
Update the specified photo_album in storage.

@param PhotoAlbum $album
@param Request    $request
@return Response
Update the specified photo_album in storage .