framework/RedKiteCms/Rendering/Controller/Cms/FrontendController.php
protected function renderPage()
    {
        $page = $this->options["page"];
        $request = $this->options["request"];
        $username = $this->options["username"];
        $pageOptions = array(
            'page' => $request->get('page'),
            'language' => $request->get('_locale'),
            'country' => $request->get('country'),
        );
        $page->render($this->configuration->siteDir(), $pageOptions, $username);

        return $page;
    }
protected function renderPage()
    {
        $page = $this->options["page"];
        $request = $this->options["request"];
        $username = $this->options["username"];
        $pageOptions = array(
            'page' => $request->get('page'),
            'language' => $request->get('_locale'),
            'country' => $request->get('country'),
        );
        $page->render($this->configuration->siteDir(), $pageOptions, $username);

        return $page;
    }
Renders the page

@return \RedKiteCms\FilesystemEntity\Page