rails--rails/actionpack/test/fixtures/localized
Juan Guecaimburu bd0753b396 Add support to locales with lowdash in Resolver::PathParser
In previous versions of Rails, a dynamic regex was built to find templates.
After that, PathParser started to be used to both match and sort templates.
With the dynamic regex, templates with lowdash locales (es_AR) were
found properly. But the PathParser regex does not match locales with this
format, only allowing dash (es-AR) or no dash (es). Templates with lowdash
locales have a wrong virtual path and get filtered.

In this commit the PathParser regex is extended to support the lowdash.
2022-01-14 15:11:58 -03:00
..
hello_world.de.html
hello_world.de_AT.html Add support to locales with lowdash in Resolver::PathParser 2022-01-14 15:11:58 -03:00
hello_world.en.html
hello_world.it.erb