File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1772,11 +1772,6 @@ Note that you will *not* need to implement a controller for the ``/logout``
1772
1772
URL as the firewall takes care of everything. You *do *, however, need to create
1773
1773
a route so that you can use it to generate the URL:
1774
1774
1775
- .. caution ::
1776
-
1777
- As of Symfony 2.1, you *must * have a route that corresponds to your logout
1778
- path. Without this route, logging out will not work.
1779
-
1780
1775
.. configuration-block ::
1781
1776
1782
1777
.. code-block :: yaml
@@ -1810,6 +1805,11 @@ a route so that you can use it to generate the URL:
1810
1805
1811
1806
return $collection;
1812
1807
1808
+ .. caution ::
1809
+
1810
+ As of Symfony 2.1, you *must * have a route that corresponds to your logout
1811
+ path. Without this route, logging out will not work.
1812
+
1813
1813
Once the user has been logged out, he will be redirected to whatever path
1814
1814
is defined by the ``target `` parameter above (e.g. the ``homepage ``). For
1815
1815
more information on configuring the logout, see the
You can’t perform that action at this time.
0 commit comments