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

Commit 793a18e

Browse files
committed
Fix changed reference
1 parent ded5b00 commit 793a18e

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

book/structuring_content.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ The Factory
106106
...........
107107

108108
Menu factories generate the full ``MenuItem`` hierarchy from the provided
109-
MenuNode. The data generated this way is later used to generate the actual HTML
110-
representation of the menu.
109+
menu node. The data generated this way is later used to generate the actual
110+
HTML representation of the menu.
111111

112112
The included implementation focuses on generating ``MenuItem`` instances from
113113
``NodeInterface`` instances, as this is usually the best approach to handle

bundles/menu/menu_factory.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ URL Generation
1919
in CmfMenuBundle 2.0. Prior to 2.0, you had to use the
2020
``ContentAwareFactory`` class and ``cmf_menu.factory`` service.
2121

22-
Most menu items will need a URL. By default, KnpMenu allows generating such
23-
route by specifying a URI or a Symfony route name.
22+
Most menu items will need a URL. By default, KnpMenu allows generating this URL
23+
by specifying a URI or a Symfony route name.
2424

2525
The CmfMenuBundle provides another way to generate URLs: By using the
2626
:ref:`dynamic router <bundles-routing-dynamic-generator>` to generate routes
@@ -91,7 +91,7 @@ during the process of creating a menu item from a menu node. You can use this
9191
event to control the ``MenuItem`` that is created and to mark the current node
9292
or its children as skipped.
9393

94-
Listeners for this method recieve a ``CreateMenuItemFromNodeEvent`` instance,
94+
Listeners for this method receive a ``CreateMenuItemFromNodeEvent`` instance,
9595
which provides access to node using the ``getNode()`` method and allows
9696
skipping nodes using the ``setSkipNode()`` and ``setSkipChildren()`` methods.
9797

bundles/menu/sonata_admin.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,6 @@ configuration:
241241
242242
.. _`Sonata Admin extension documentation`: http://sonata-project.org/bundles/admin/master/doc/reference/extensions.html
243243
.. _SonataDoctrinePHPCRAdminBundle: http://sonata-project.org/bundles/doctrine-phpcr-admin/master/doc/index.html
244-
.. _`configuring sonata admin`: http://sonata-project.org/bundles/doctrine-phpcr-admin/master/doc/reference/configuration.html
244+
.. _`the sonata admin documentation`: http://sonata-project.org/bundles/doctrine-phpcr-admin/master/doc/reference/configuration.html
245245
.. _`KnpMenuBundle documentation`: http://github.com/KnpLabs/KnpMenu/blob/master/doc/01-Basic-Menus.markdown#menu-attributes
246246
.. _BurgovKeyValueFormBundle: https://github.com/Burgov/KeyValueFormBundle

bundles/menu/voters.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ its menu items correspond to the page the user is currently viewing.
1010

1111
To determine which menu item should be marked as the current item, KnpMenu
1212
includes voters. By default, KnpMenu comes with a voter that uses the Symfony
13-
router to determine if the current page is equal to the page referced by the
13+
router to determine if the current page is equal to the page referenced by the
1414
item.
1515

1616
This works well for static pages, highlighting the "About" item when viewing

0 commit comments

Comments
 (0)