Skip to content

Commit f28b5bc

Browse files
committed
fixed admin routes documentation link
1 parent 74e25c8 commit f28b5bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/base/controllers/Admin/Routes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function getTemplateData(): array
103103
$callable = $route['class'] . '::' . $route['method'];
104104

105105
if (is_file(App::getDir(App::WEBROOT) . DS . 'docs' . DS . 'classes' . DS . str_replace("\\", "-", $route['class']) . ".html")) {
106-
$linkTo = $this->getUrl('crud.app.site.controllers.admin.json.readdocs') . "?docpage=".urlencode("/docs/classes/". str_replace("\\", "-", $route['class']) . ".html#method_".$route['method']);
106+
$linkTo = $this->getUrl('crud.app.base.controllers.admin.json.readdocs') . "?docpage=".urlencode("/docs/classes/". str_replace("\\", "-", $route['class']) . ".html#method_".$route['method']);
107107
$callable = $this->containerMake(TagElement::class, [
108108
'options' => [
109109
'tag' => 'a',

0 commit comments

Comments
 (0)