Skip to content
This repository
Browse code

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
Ingo Schommer authored August 05, 2012

Showing 1 changed file with 7 additions and 0 deletions. Show diff stats Hide diff stats

  1. 7  code/model/SiteConfig.php
7  code/model/SiteConfig.php
@@ -148,6 +148,13 @@ function getCMSActions() {
148 148
 		
149 149
 		return $actions;
150 150
 	}
  151
+
  152
+	/**
  153
+	 * @return String
  154
+	 */
  155
+	function CMSEditLink() {
  156
+		return singleton('CMSSettingsController')->Link();
  157
+	}
151 158
 	
152 159
 	/**
153 160
 	 * Get the current sites SiteConfig, and creates a new one

0 notes on commit 9076286

Please sign in to comment.
Something went wrong with that request. Please try again.