Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tutorial/auto-routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,15 @@ First you need to configure the auto routing bundle:
persistence:
phpcr:
enabled: true
route_basepath: /cms/routes

.. code-block:: xml

<!-- app/config/config.xml -->
<container xmlns="http://symfony.com/schema/dic/services">
<config xmlns="http://cmf.symfony.com/schema/dic/routing_auto">
<persistence>
<phpcr />
<phpcr route-basepath="/cms/routes" />
</persistence>
</config>
</container>
Expand All @@ -151,6 +152,7 @@ First you need to configure the auto routing bundle:
'persistence' => array(
'phpcr' => array(
'enabled' => true,
'route_basepath' => '/cms/routes',
),
),
));
Expand Down