authorize('own', $playlistFolder); $this->service->addPlaylistsToFolder($playlistFolder, Arr::wrap($request->playlists)); return response()->noContent(); } public function destroy(PlaylistFolder $playlistFolder, PlaylistFolderPlaylistDestroyRequest $request) { $this->authorize('own', $playlistFolder); $this->service->movePlaylistsToRootLevel($playlistFolder, Arr::wrap($request->playlists)); return response()->noContent(); } }