public function collapseAction($content, $type)
    {
        try {
            $this->manager->collapse($content, $type);

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