Skip to content

Commit a3d429d

Browse files
authored
fix LocaleCookieRedirect section (#767)
It says localeCookieRedirect middleware stores locale in session. I replace session with cookie.
1 parent 8e7014d commit a3d429d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ For example, if a user navigates to http://url-to-laravel/test and `en` is the
186186

187187
Similar to LocaleSessionRedirect, but it stores value in a cookie instead of a session.
188188

189-
Whenever a locale is present in the url, it will be stored in the session by this middleware.
189+
Whenever a locale is present in the url, it will be stored in the cookie by this middleware.
190190

191191
In there is no locale present in the url, then this middleware will check the following
192192

0 commit comments

Comments
 (0)