src/Sulu/Bundle/CustomUrlBundle/Controller/CustomUrlController.php
public function deleteAction($webspace, $id)
    {
        $manager = $this->get('sulu_custom_urls.manager');
        $manager->delete($id);
        $this->get('sulu_document_manager.document_manager')->flush();

        return $this->handleView($this->view());
    }
public function deleteAction($webspace, $id)
    {
        $manager = $this->get('sulu_custom_urls.manager');
        $manager->delete($id);
        $this->get('sulu_document_manager.document_manager')->flush();

        return $this->handleView($this->view());
    }
public function deleteAction ( $ webspace , $ id ) { $ manager = $ this -> get ( 'sulu_custom_urls.manager' ) ; $ manager -> delete ( $ id ) ; $ this -> get ( 'sulu_document_manager.document_manager' ) -> flush ( ) ; return $ this -> handleView ( $ this -> view ( ) ) ; }
Delete a single custom-url identified by uuid.

@param string $webspace
@param string $id

@return Response
Delete a single custom - url identified by uuid .