public function deleteAction()
{
list($webspaceKey, $languageCode) = $this->getWebspaceAndLanguage();
$path = $this->getRequestParameter($this->getRequest(), 'path', true);
$this->getResourceLocatorRepository()->delete($path, $webspaceKey, $languageCode);
$this->getDocumentManager()->flush();
return $this->handleView($this->view());
}