1
0
mirror of https://github.com/silverstripe/silverstripe-cms synced 2024-10-22 08:05:56 +02:00

Update code/Model/VirtualPage.php

Co-authored-by: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com>
This commit is contained in:
mirche97 2023-09-18 18:15:54 +02:00 committed by Mirjana Durakovic
parent da115d9910
commit 9edc46f53d

View File

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