Controller/Admin/ResettingController.php
public function requestAction()
    {
        if ($this->container->get('security.context')->isGranted('IS_AUTHENTICATED_FULLY')) {
            return new RedirectResponse($this->container->get('router')->generate('sonata_admin_dashboard'));
        }
        return $this->container->get('templating')->renderResponse('SonataUserBundle:Admin:Security/Resetting/request.html.' . $this->getEngine(), array(
            'base_template' => $this->container->get('sonata.admin.pool')->getTemplate('layout'),
            'admin_pool' => $this->container->get('sonata.admin.pool'),
        ));
    }
public function requestAction()
    {
        if ($this->container->get('security.context')->isGranted('IS_AUTHENTICATED_FULLY')) {
            return new RedirectResponse($this->container->get('router')->generate('sonata_admin_dashboard'));
        }
        return $this->container->get('templating')->renderResponse('SonataUserBundle:Admin:Security/Resetting/request.html.' . $this->getEngine(), array(
            'base_template' => $this->container->get('sonata.admin.pool')->getTemplate('layout'),
            'admin_pool' => $this->container->get('sonata.admin.pool'),
        ));
    }
{@inheritdoc}