Skip to content

Commit

Permalink
Merge pull request #47 from dnadesign/Leapfrognz-patch-1
Browse files Browse the repository at this point in the history
Should use versioning on the modelAdmin
  • Loading branch information
Leapfrognz authored Sep 1, 2016
2 parents 8ecc61a + d5a78c2 commit b403460
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/controllers/ElementalAdmin.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<?php

use \Heyday\VersionedDataObjects\VersionedModelAdmin;

/**
* @package elemental
*/
class ElementalAdmin extends ModelAdmin {
class ElementalAdmin extends VersionedModelAdmin {

private static $managed_models = array(
'BaseElement'
Expand Down

0 comments on commit b403460

Please sign in to comment.