framework/RedKiteCms/Rendering/Controller/Page/ApprovePageController.php
public function approve(array $options)
    {
        $pageName = $options["request"]->get('pageName');
        $seoData = $options["request"]->get('seo-data');
        $json = $options["page_manager"]
            ->contributor($options["username"])
            ->approve($pageName, $seoData["language"]);

        return $this->buildJSonResponse($json);
    }
public function approve(array $options)
    {
        $pageName = $options["request"]->get('pageName');
        $seoData = $options["request"]->get('seo-data');
        $json = $options["page_manager"]
            ->contributor($options["username"])
            ->approve($pageName, $seoData["language"]);

        return $this->buildJSonResponse($json);
    }
Implements the action to approve the page contribution
@param array $options

@return \Symfony\Component\HttpFoundation\Response