src/Sulu/Bundle/CustomUrlBundle/Controller/CustomUrlController.php
public function cdeleteAction($webspace, Request $request)
    {
        $ids = array_filter(explode(',', $request->get('ids', '')));

        $manager = $this->get('sulu_custom_urls.manager');
        foreach ($ids as $ids) {
            $manager->delete($ids);
        }
        $this->get('sulu_document_manager.document_manager')->flush();

        return $this->handleView($this->view());
    }
public function cdeleteAction($webspace, Request $request)
    {
        $ids = array_filter(explode(',', $request->get('ids', '')));

        $manager = $this->get('sulu_custom_urls.manager');
        foreach ($ids as $ids) {
            $manager->delete($ids);
        }
        $this->get('sulu_document_manager.document_manager')->flush();

        return $this->handleView($this->view());
    }
public function cdeleteAction ( $ webspace , Request $ request ) { $ ids = array_filter ( explode ( ',' , $ request -> get ( 'ids' , '' ) ) ) ; $ manager = $ this -> get ( 'sulu_custom_urls.manager' ) ; foreach ( $ ids as $ ids ) { $ manager -> delete ( $ ids ) ; } $ this -> get ( 'sulu_document_manager.document_manager' ) -> flush ( ) ; return $ this -> handleView ( $ this -> view ( ) ) ; }
Deletes a list of custom-urls identified by a list of uuids.

@param string $webspace
@param Request $request

@return Response
Deletes a list of custom - urls identified by a list of uuids .