mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
bd0753b396
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. |
||
---|---|---|
.. | ||
alternate_helpers | ||
bad_customers | ||
collection_cache | ||
customers | ||
filter_test/implicit_actions | ||
functional_caching | ||
helpers | ||
helpers1_pack | ||
helpers2_pack | ||
helpers_typo/admin | ||
implicit_render_test | ||
layouts | ||
localized | ||
multipart | ||
namespaced/implicit_render_test | ||
old_content_type | ||
post_test | ||
public | ||
respond_to | ||
session_autoload_test/session_autoload_test | ||
star_star_mime | ||
test | ||
公共 | ||
_top_level_partial_only.erb | ||
company.rb | ||
load_me.rb | ||
ruby_template.ruby | ||
shared.html.erb |