From cdeee7257ce2acadec4954cc47b8ee26acd1058f Mon Sep 17 00:00:00 2001 From: CiviCRM Date: Sat, 14 Sep 2019 23:48:45 -0400 Subject: [PATCH] api4 - Adjust to new name --- CRM/Api4/Page/Api4Explorer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Api4/Page/Api4Explorer.php b/CRM/Api4/Page/Api4Explorer.php index f06452548c..5566acde9f 100644 --- a/CRM/Api4/Page/Api4Explorer.php +++ b/CRM/Api4/Page/Api4Explorer.php @@ -5,13 +5,13 @@ class CRM_Api4_Page_Api4Explorer extends CRM_Core_Page { public function run() { $vars = [ 'operators' => \CRM_Core_DAO::acceptedSQLOperators(), - 'basePath' => Civi::resources()->getUrl('org.civicrm.api4'), + 'basePath' => Civi::resources()->getUrl('civicrm'), 'schema' => (array) \Civi\Api4\Entity::get()->setChain(['fields' => ['$name', 'getFields']])->execute(), 'links' => (array) \Civi\Api4\Entity::getLinks()->execute(), ]; Civi::resources() ->addVars('api4', $vars) - ->addScriptFile('org.civicrm.api4', 'js/load-bootstrap.js') + ->addScriptFile('civicrm', 'js/load-bootstrap.js') ->addScriptFile('civicrm', 'bower_components/google-code-prettify/bin/prettify.min.js') ->addStyleFile('civicrm', 'bower_components/google-code-prettify/bin/prettify.min.css'); -- 2.25.1