Skip to content

Commit

Permalink
fix LocaleCookieRedirect section (mcamara#767)
Browse files Browse the repository at this point in the history
It says localeCookieRedirect middleware stores locale in session. I replace session with cookie.
  • Loading branch information
serkanerip authored Jan 4, 2021
1 parent 8e7014d commit a3d429d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ For example, if a user navigates to http://url-to-laravel/test and `en` is the

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

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

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

Expand Down

0 comments on commit a3d429d

Please sign in to comment.