mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 09:05:55 +00:00
Wrong edit link in SubsitesVirtualPage
In SS3.1 we have /admin/pages for cms, was still old link.
This commit is contained in:
parent
601e174b34
commit
996abfcc58
@ -51,7 +51,7 @@ class SubsitesVirtualPage extends VirtualPage {
|
||||
|
||||
// Create links back to the original object in the CMS
|
||||
if($this->CopyContentFromID) {
|
||||
$editLink = "admin/page/edit/show/$this->CopyContentFromID/?SubsiteID=" . $this->CopyContentFrom()->SubsiteID;
|
||||
$editLink = "admin/pages/edit/show/$this->CopyContentFromID/?SubsiteID=" . $this->CopyContentFrom()->SubsiteID;
|
||||
$linkToContent = "
|
||||
<a class=\"cmsEditlink\" href=\"$editLink\">" .
|
||||
_t('VirtualPage.EDITCONTENT', 'Click here to edit the content') .
|
||||
|
Loading…
x
Reference in New Issue
Block a user