From fab73eeeedd264dc1714865f6322c0c02e2c071e Mon Sep 17 00:00:00 2001 From: anitadavid Date: Thu, 26 Apr 2018 13:54:20 +0300 Subject: [PATCH] Update locale_sticky_session.rst --- session/locale_sticky_session.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/session/locale_sticky_session.rst b/session/locale_sticky_session.rst index f703c2edd37..47a96cf6d31 100644 --- a/session/locale_sticky_session.rst +++ b/session/locale_sticky_session.rst @@ -13,7 +13,7 @@ in the session, so that it's used on subsequent requests. Creating a LocaleSubscriber --------------------------- -Create and a :ref:`new event subscriber `. Typically, ``_locale`` +Create a :ref:`new event subscriber `. Typically, ``_locale`` is used as a routing parameter to signify the locale, though you can determine the correct locale however you want:: @@ -180,7 +180,7 @@ event:: If you're using the :ref:`default services.yml configuration `, you're done! Symfony will automatically know about the event subscriber will pass -your the ``session`` service. Now, when you login, the user's locale will be set +you the ``session`` service. Now, when you login, the user's locale will be set into the session. .. caution::