diff options
author | sgiehl <stefan@matomo.org> | 2022-05-25 18:50:05 +0300 |
---|---|---|
committer | sgiehl <stefan@matomo.org> | 2022-05-25 18:50:05 +0300 |
commit | 87d2e7053ad61af77568db8f7858e01ce0f0dfcb (patch) | |
tree | 0bedcac7d99bdb418da72086ee1b4917b58307e6 | |
parent | 74846ca8cff4049b6cdffe4ee7605d86d778d892 (diff) |
fix anchor links on API pagem19252
-rw-r--r-- | plugins/API/Controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/API/Controller.php b/plugins/API/Controller.php index 7047173e1e..e73cc6a37f 100644 --- a/plugins/API/Controller.php +++ b/plugins/API/Controller.php @@ -77,7 +77,7 @@ class Controller extends \Piwik\Plugin\Controller $ApiDocumentation = new DocumentationGenerator(); $view->countLoadedAPI = Proxy::getInstance()->getCountRegisteredClasses(); - $view->list_api_methods_with_links = $ApiDocumentation->getApiDocumentationAsString(); + $view->list_api_methods_with_links = str_replace('href=\'#', 'href=\'#/', $ApiDocumentation->getApiDocumentationAsString()); return $view->render(); } |