1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/fixtures
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
..
alternate_helpers Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
bad_customers
collection_cache Make collection caching explicit. 2016-02-20 16:54:32 +01:00
customers
filter_test/implicit_actions
functional_caching Replaces the "hash rocket" operator in favor of the newer Ruby syntax when rendering on render 2021-10-03 23:33:56 -03:00
helpers Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
helpers1_pack Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
helpers2_pack Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
helpers_typo/admin Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
implicit_render_test Additional review of 6b31761. 2016-02-25 11:13:42 +01:00
layouts Replaces the "hash rocket" operator in favor of the newer Ruby syntax when rendering on render 2021-10-03 23:33:56 -03:00
localized Add support to locales with lowdash in Resolver::PathParser 2022-01-14 15:11:58 -03:00
multipart Remove mona lisa image from the tests 2016-10-25 12:31:35 -02:00
namespaced/implicit_render_test Fix adding implicitly rendered namespaced template digests to ETags 2016-07-13 15:07:49 -04:00
old_content_type Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" 2017-07-02 02:15:17 +09:30
post_test
public Allow rails to serve brotli encoded assets 2020-06-01 08:57:02 -07:00
respond_to Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" 2017-07-02 02:15:17 +09:30
session_autoload_test/session_autoload_test Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
star_star_mime
test Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" 2017-07-02 02:15:17 +09:30
公共 Allow rails to serve brotli encoded assets 2020-06-01 08:57:02 -07:00
_top_level_partial_only.erb
company.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
load_me.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
ruby_template.ruby Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" 2017-07-02 02:15:17 +09:30
shared.html.erb