public function renameContentAction($type, $name)
    {
        try {
            $this->manager->renameType($type, $name);

            return new Response('true');
        } catch (\Exeption $e) {
            return new Response('false'); //useful in ajax
        }
    }