framework/RedKiteCms/Rendering/Controller/Cms/DashboardController.php
public function show(array $options)
    {
        $resolver = new OptionsResolver();
        $this->configureOptions($resolver);
        $this->options = $resolver->resolve($options);
        $this->options["template_assets"]->boot('dashboard');

        $backRoute = $this->options["request"]->getSession()->get('last_route');
        if (!in_array($backRoute, $this->options["routes"]["pages"])) {
            $backRoute = $this->options["routes"]["homepage"];
        }

        $template = 'RedKiteCms/Resources/views/Dashboard/home.html.twig';
        return $options["twig"]->render(
            $template,
            array(
                "template_assets_manager" => $this->options["template_assets"],
                "version" => ConfigurationHandler::getVersion(),
                "back_route" => $backRoute,
            )
        );
    }
public function show(array $options)
    {
        $resolver = new OptionsResolver();
        $this->configureOptions($resolver);
        $this->options = $resolver->resolve($options);
        $this->options["template_assets"]->boot('dashboard');

        $backRoute = $this->options["request"]->getSession()->get('last_route');
        if (!in_array($backRoute, $this->options["routes"]["pages"])) {
            $backRoute = $this->options["routes"]["homepage"];
        }

        $template = 'RedKiteCms/Resources/views/Dashboard/home.html.twig';
        return $options["twig"]->render(
            $template,
            array(
                "template_assets_manager" => $this->options["template_assets"],
                "version" => ConfigurationHandler::getVersion(),
                "back_route" => $backRoute,
            )
        );
    }
Implements the action to render the CMS dashboard
@param array $options

@return \Symfony\Component\HttpFoundation\Response