Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Created new _config directory and moved config options to .yml file

  • Loading branch information...
commit 49f99bc16890c2175b53279bbdb79b095b4e6709 1 parent c6db591
Christian Bachhelm authored
Showing with 8 additions and 7 deletions.
  1. +0 −7 _config.php
  2. +8 −0 _config/config.yml
View
7 _config.php
@@ -7,13 +7,6 @@
unset($folders);
/*
- * This fixesthe URL segment editor in model admin
- *
- * Note this will prevent any URL segment editor buttons from having translations
- */
-DataObject::add_extension('LeftAndMain', 'DataObjectAsPageLeftAndMain');
-
-/*
* Add this line to your _config.php to enable versioning on your DataObjectAsPage classes.
*
* Unfortunately this will to apply to all your DOAP classes as it needs to apply to the root DOAP class.
View
8 _config/config.yml
@@ -0,0 +1,8 @@
+---
+Name: dataobjectaspage
+---
+# This fixes the URL segment editor in model admin
+# Note this will prevent any URL segment editor buttons from having translations
+LeftAndMain:
+ extensions:
+ [DataObjectAsPageLeftAndMain]
Please sign in to comment.
Something went wrong with that request. Please try again.