aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/flows.rb
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2019-03-17 23:53:39 -0700
committerJohn Hawthorn <john@hawthorn.email>2019-03-26 14:19:31 -0700
commit573e361a3ccb2cc716ed028d66da8af144bc0db2 (patch)
tree6feef01629119fa530e52ac54eee3960d0de82df /actionview/lib/action_view/flows.rb
parentc0f29ab75ee7ce810c0970f359a54037ee84adc3 (diff)
downloadrails-573e361a3ccb2cc716ed028d66da8af144bc0db2.tar.gz
rails-573e361a3ccb2cc716ed028d66da8af144bc0db2.tar.bz2
rails-573e361a3ccb2cc716ed028d66da8af144bc0db2.zip
Deprecate custom patterns for PathResolver
Custom glob patterns tie the implementation (Using Dir.glob) to the API we provide. It also doesn't really work. extract_handler_and_format_and_variant expects the handler, format, and variant to be at the end of the template path, and in the same order as they are in the default pattern. This deprecates specifying a custom path for FileSystemResolver and removes the pattern argument of OptimizedFileSystemResolver#initialize, which does not work with a custom pattern.
Diffstat (limited to 'actionview/lib/action_view/flows.rb')
0 files changed, 0 insertions, 0 deletions