Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

SiteTree->CMSEditLink()

Mainly to make it compatible with the Translatable
extension linking to existing translations of it,
but also to make it work similarly to the SiteTree logic elsewhere.
  • Loading branch information...
commit 907628616234e215b9d9a2d85bcd62db1eec901f 1 parent 5938ab0
@chillu chillu authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 code/model/SiteConfig.php
View
7 code/model/SiteConfig.php
@@ -148,6 +148,13 @@ function getCMSActions() {
return $actions;
}
+
+ /**
+ * @return String
+ */
+ function CMSEditLink() {
+ return singleton('CMSSettingsController')->Link();
+ }
/**
* Get the current sites SiteConfig, and creates a new one
Please sign in to comment.
Something went wrong with that request. Please try again.