Skip to content

Commit 2045785

Browse files
podolskisweaverryan
authored andcommitted
Update routing.rst
There is no setPrefix method no more.
1 parent 24e2f0d commit 2045785

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ instead of simply ``/hello/{name}``:
10541054
$acmeHello = $loader->import(
10551055
"@AcmeHelloBundle/Resources/config/routing.php"
10561056
);
1057-
$acmeHello->setPrefix('/admin');
1057+
$acmeHello->addPrefix('/admin');
10581058
10591059
$collection->addCollection($acmeHello);
10601060

0 commit comments

Comments
 (0)