Skip to content

Commit b092389

Browse files
committed
Move some articles from wrong sections
1 parent ee357bf commit b092389

File tree

9 files changed

+12
-10
lines changed

9 files changed

+12
-10
lines changed

cookbook/controller/error_pages.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ In that case, all the default ``ExceptionListener`` and
257257
``ExceptionController`` could do for you was trying to figure out the
258258
right HTTP status code and display your nice-looking error page.
259259

260-
:doc:`Writing your own event listener </cookbook/service_container/event_listener>`
260+
:doc:`Writing your own event listener </cookbook/event_dispatcher/event_listener>`
261261
for the ``kernel.exception`` event allows you to have a closer look
262262
at the exception and take different actions depending on it. Those
263263
actions might include logging the exception, redirecting the user to

cookbook/event_dispatcher/before_after_filters.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Creating an Event Listener
102102

103103
Next, you'll need to create an event listener, which will hold the logic
104104
that you want executed before your controllers. If you're not familiar with
105-
event listeners, you can learn more about them at :doc:`/cookbook/service_container/event_listener`::
105+
event listeners, you can learn more about them at :doc:`/cookbook/event_dispatcher/event_listener`::
106106

107107
// src/AppBundle/EventListener/TokenListener.php
108108
namespace AppBundle\EventListener;

cookbook/map.rst.inc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* :doc:`/cookbook/configuration/using_parameters_in_dic`
3434
* :doc:`/cookbook/configuration/front_controllers_and_kernel`
3535
* :doc:`/cookbook/configuration/external_parameters`
36-
* :doc:`/cookbook/configuration/pdo_session_storage`
36+
* :doc:`/cookbook/doctrine/pdo_session_storage`
3737
* :doc:`/cookbook/configuration/apache_router`
3838
* :doc:`/cookbook/configuration/web_server_configuration`
3939
* :doc:`/cookbook/configuration/configuration_organization`
@@ -74,7 +74,7 @@
7474
* :doc:`/cookbook/doctrine/mapping_model_classes`
7575
* :doc:`/cookbook/doctrine/registration_form`
7676
* :doc:`/cookbook/doctrine/console`
77-
* (configuration) :doc:`/cookbook/configuration/pdo_session_storage`
77+
* (configuration) :doc:`/cookbook/doctrine/pdo_session_storage`
7878

7979
* :doc:`/cookbook/email/index`
8080

@@ -90,7 +90,7 @@
9090
* :doc:`/cookbook/event_dispatcher/before_after_filters`
9191
* :doc:`/cookbook/event_dispatcher/class_extension`
9292
* :doc:`/cookbook/event_dispatcher/method_behavior`
93-
* (service container) :doc:`/cookbook/service_container/event_listener`
93+
* (service container) :doc:`/cookbook/event_dispatcher/event_listener`
9494

9595
* :doc:`/cookbook/form/index`
9696

@@ -168,7 +168,7 @@
168168

169169
* :doc:`/cookbook/service_container/index`
170170

171-
* :doc:`/cookbook/service_container/event_listener`
171+
* :doc:`/cookbook/event_dispatcher/event_listener`
172172
* :doc:`/cookbook/service_container/scopes`
173173
* :doc:`/cookbook/service_container/compiler_passes`
174174

@@ -178,7 +178,7 @@
178178
* :doc:`/cookbook/session/locale_sticky_session`
179179
* :doc:`/cookbook/session/sessions_directory`
180180
* :doc:`/cookbook/session/php_bridge`
181-
* (configuration) :doc:`/cookbook/configuration/pdo_session_storage`
181+
* (configuration) :doc:`/cookbook/doctrine/pdo_session_storage`
182182
* :doc:`/cookbook/session/avoid_session_start`
183183

184184
* **symfony1**

cookbook/session/locale_sticky_session.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Creating a LocaleListener
1414
-------------------------
1515

1616
To simulate that the locale is stored in a session, you need to create and
17-
register a :doc:`new event listener </cookbook/service_container/event_listener>`.
17+
register a :doc:`new event listener </cookbook/event_dispatcher/event_listener>`.
1818
The listener will look something like this. Typically, ``_locale`` is used
1919
as a routing parameter to signify the locale, though it doesn't really matter
2020
how you determine the desired locale from the request::

cookbook/session/sessions_directory.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ that your current sessions aren't lost when you clear Symfony's cache.
9494
method of session management available within Symfony. See
9595
:doc:`/components/http_foundation/session_configuration` for a
9696
discussion of session save handlers. There is also an entry in the cookbook
97-
about storing sessions in the :doc:`database </cookbook/configuration/pdo_session_storage>`.
97+
about storing sessions in the :doc:`database </cookbook/doctrine/pdo_session_storage>`.
9898

9999
To change the directory in which Symfony saves session data, you only need
100100
change the framework configuration. In this example, you will change the

redirection_map

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@
2323
/cookbook/console/generating_urls /cookbook/console/sending_emails
2424
/components/yaml /components/yaml/introduction
2525
/components/templating /components/templating/introduction
26+
/cookbook/configuration/pdo_session_storage /cookbook/doctrine/pdo_session_storage
27+
/cookbook/service_container/event_listener /cookbook/event_dispatcher/event_listener

reference/dic_tags.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ kernel.event_listener
543543
This tag allows you to hook your own classes into Symfony's process at different
544544
points.
545545
546-
For a full example of this listener, read the :doc:`/cookbook/service_container/event_listener`
546+
For a full example of this listener, read the :doc:`/cookbook/event_dispatcher/event_listener`
547547
cookbook entry.
548548
549549
For another practical example of a kernel listener, see the cookbook

0 commit comments

Comments
 (0)