Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit d0245f4

Browse files
committed
Merge pull request #630 from umeku/fixes
Fix route creation example
2 parents a480f38 + 9a36523 commit d0245f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

book/routing.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,7 @@ follows::
467467
throw new \RuntimeException("Fixture requires a PHPCR ODM DocumentManager instance, instance of '$class' given.");
468468
}
469469

470+
$session = $dm->getPhpcrSession();
470471
NodeHelper::createPath($session, '/cms/routes');
471472

472473
$route = new Route();

0 commit comments

Comments
 (0)