diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-05-26 07:22:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-26 07:22:56 +0300 |
commit | 1aa1e1a3a8c02001995d62bb7d74a975f9ef5991 (patch) | |
tree | 0bedcac7d99bdb418da72086ee1b4917b58307e6 /plugins | |
parent | 74846ca8cff4049b6cdffe4ee7605d86d778d892 (diff) |
fix anchor links on API page (#19271)
Diffstat (limited to 'plugins')
-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(); } |