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

Commit 9ab2c94

Browse files
Umekulsmith77
authored andcommitted
Fix route creation example
1 parent c4d2440 commit 9ab2c94

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)