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

Commit 0f82a43

Browse files
committed
Merge pull request #489 from symfony-cmf/simple_cms
Simple cms
2 parents b448812 + 20a57ae commit 0f82a43

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bundles/simple_cms/multilang.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ For example::
1717

1818
// ...
1919

20-
// pass true as the 3rd parameter to prefix the route pattern with /{_locale}
21-
$page = new Page(false, false, true);
20+
// pass add_locale_pattern as true to prefix the route pattern with /{_locale}
21+
$page = new Page(array(add_locale_pattern => true));
2222

2323
$page->setPosition($parent, 'hello-world');
2424
$page->setTitle('Hello World!');

reference/configuration/simple_cms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ is the following configuration:
2929
enabled: false
3030
basepath: /cms/simple
3131
manager_registry: doctrine_phpcr
32-
manager: ~
32+
manager_name: ~
3333
document_class: Symfony\Cmf\Bundle\SimpleCmsBundle\Doctrine\Phpcr\Page
3434
use_sonata_admin: auto
3535
sonata_admin:

0 commit comments

Comments
 (0)