Skip to content

Commit

Permalink
Merge pull request #13 from rixxi/fix-treeable
Browse files Browse the repository at this point in the history
Fixed: Config name for tree should be treeable #11
  • Loading branch information
mishak87 committed Nov 12, 2015
2 parents 8c3ef4b + c6b0b93 commit cdbc9ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ gedmo:
sortable: on
timestampable: on
translatable: on
tree: on
treeable: on
uploadable: on

# you must add bit type to your doctrine connection and soft-deleteable to filters
Expand Down
6 changes: 3 additions & 3 deletions src/Rixxi/Gedmo/DI/OrmExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class OrmExtension extends CompilerExtension implements Kdyby\Doctrine\DI\IEntit
'sortable' => FALSE,
'timestampable' => FALSE,
'translatable' => FALSE,
'tree' => FALSE,
'treeable' => FALSE,
'uploadable' => FALSE,
);

Expand All @@ -34,7 +34,7 @@ class OrmExtension extends CompilerExtension implements Kdyby\Doctrine\DI\IEntit
'sortable',
'timestampable',
'translatable',
'tree',
'treeable',
'uploadable',
);

Expand All @@ -46,7 +46,7 @@ public function getEntityMappings()
$annotations = array(
'loggable',
'translatable',
'tree',
'treeable',
);

$path = realpath(__DIR__ . '/../../../../../../gedmo/doctrine-extensions/lib/Gedmo');
Expand Down

0 comments on commit cdbc9ec

Please sign in to comment.