Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #961 Setting the toggle navigation cookie for root path (yceruto)
This PR was merged into the master branch. Discussion ---------- Setting the toggle navigation cookie for root path This issue happens when we create a [Custom Dashboard as the Index Page of the Backend](https://github.com/javiereguiluz/EasyAdminBundle/blob/master/Resources/doc/tutorials/tips-and-tricks.md#use-a-custom-dashboard-as-the-index-page-of-the-backend). > The cookie path attribute is used to specify the subset of URLs in a domain for which the cookie is valid. If a cookie has already passed domain matching, then the pathname component of the URL is compared with the path attribute, and if there is a match, the cookie is considered valid and is sent along with the URL request. The path `/foo` would match `/foobar` and `/foo/bar.html`. The path `/` is the most general path. Currently, if dashboard path is `/dashboard` the cookie path would be `/dashboard`, so this cookie will not be valid for the root request path `/`. Commits ------- 80d83c9 create the cookie value for one path
- Loading branch information