diff options
author | John Hawthorn <john@hawthorn.email> | 2019-03-17 23:53:39 -0700 |
---|---|---|
committer | John Hawthorn <john@hawthorn.email> | 2019-03-26 14:19:31 -0700 |
commit | 573e361a3ccb2cc716ed028d66da8af144bc0db2 (patch) | |
tree | 6feef01629119fa530e52ac54eee3960d0de82df /actionpack/lib/action_dispatch/middleware | |
parent | c0f29ab75ee7ce810c0970f359a54037ee84adc3 (diff) | |
download | rails-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 'actionpack/lib/action_dispatch/middleware')
0 files changed, 0 insertions, 0 deletions