public destroy ( |
||
$playlist | ||
Résultat | Illuminate\Http\JsonResponse |
public function destroy(Playlist $playlist)
{
$this->authorize('owner', $playlist);
$playlist->delete();
return response()->json();
}