From 6024aa1b6670a4edd6a378834dd5f65f8dbf1019 Mon Sep 17 00:00:00 2001 From: Xavier Dutoit Date: Thu, 14 Mar 2013 13:44:20 +0100 Subject: [PATCH] CRM-12102 Redirect from civicrm/ajax/doc to civicrm/api/explorer --- CRM/Utils/REST.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/CRM/Utils/REST.php b/CRM/Utils/REST.php index 4b96236258..d2d4e0c482 100644 --- a/CRM/Utils/REST.php +++ b/CRM/Utils/REST.php @@ -475,12 +475,7 @@ class CRM_Utils_REST { } static function ajaxDoc() { - - CRM_Utils_System::setTitle("API explorer and generator"); - $template = CRM_Core_Smarty::singleton(); - return CRM_Utils_System::theme( - $template->fetch('CRM/Core/AjaxDoc.tpl') - ); + return CRM_Utils_System::redirect(CRM_Utils_System::url('civicrm/api/explorer')); } /** used to load a template "inline", eg. for ajax, without having to build a menu for each template */ -- 2.25.1