app/Http/Controllers/AlbumItemsController.php
/**
     * Remove album item
     *
     * @param AlbumItem $albumItem
     * @return \Illuminate\Http\RedirectResponse
     */
Remove album item
@param AlbumItem $albumItem
@return \Illuminate\Http\RedirectResponse
Remove album item @param AlbumItem $albumItem @return \ Illuminate \ Http \ RedirectResponse
public function remove(AlbumItem $albumItem)
    {
        $this->authorize($albumItem);
        $redirect = 'albums/view/' . $albumItem->album_id;
        $albumItem->delete();
        return redirect($redirect)->with('success', trans('albums.image-removed'));
    }
public function remove ( AlbumItem $ albumItem ) { $ this -> authorize ( $ albumItem ) ; $ redirect = 'albums/view/' . $ albumItem -> album_id ; $ albumItem -> delete ( ) ; return redirect ( $ redirect ) -> with ( 'success' , trans ( 'albums.image-removed' ) ) ; }
Remove album item
 @param AlbumItem $albumItem
 @return \Illuminate\Http\RedirectResponse
Remove album item @param AlbumItem $albumItem @return \ Illuminate \ Http \ RedirectResponse