public function updateAction(Repo $repo)
    {
        $form = $this->getForm();
        $slug = $repo->getSlug();
        $form->handleRequest($this->get('request'));
        $repo = $form->getData();
        if ($form->isValid()) {
            // Save instance

            $this->getManager()->update($repo);
            $this->get('session')->getFlashBag()->add('success', 'Repository updated successfully');

            return new RedirectResponse($this->generateUrl('snide_travinizer_dashboard'));
        }
        $this->get('session')->getFlashBag()->add('error', 'Some errors found');


        return array(
            'repo'   => $repo,
            'form'   => $form->createView(),
            'errors' => $form->getErrors(),
            'slug'   => $slug
        );
    }