Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always include default value in the generated url (see #1975)
Description ----------- | Q | A | -----------------| --- | Fixed issues | n/a | Docs PR or issue | n/a Mark `{parameters}` as important so the url generator will add the defaults to the generated urls. See https://symfony.com/doc/current/routing.html#optional-parameters > If you want to always include some default value in the generated URL (for example to force the generation of /blog/1 instead of /blog in the previous example) add the ! character before the parameter name: /blog/{!page} Commits ------- c05a832 Always include default value in the generated url 415e822 Fix tests
- Loading branch information