use AdminRootController::get_admin_route()

use AdminRootController::get_admin_route() instead of reading url_base directly from config
This commit is contained in:
mirche97 2023-09-05 16:36:22 +02:00 committed by Mirjana Durakovic
parent c3e7a49904
commit da115d9910

View File

@ -248,7 +248,7 @@ class VirtualPage extends Page
'a',
[
'class' => 'cmsEditlink',
'href' => AdminRootController::config()->get('url_base') . '/pages/edit/show/' . $this->CopyContentFromID,
'href' => AdminRootController::get_admin_route() . '/pages/edit/show/' . $this->CopyContentFromID,
],
_t(self::class . '.EditLink', 'edit')
);