aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/capture_helper_test.rb
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2019-07-13 20:33:12 -0700
committerJohn Hawthorn <john@hawthorn.email>2019-07-13 21:32:11 -0700
commit85fa9b6549f6bf0b4ab0262b869bdd3d25969939 (patch)
tree305df4aec38ffd923e2a1ac97ed57455e374b06f /actionview/test/template/capture_helper_test.rb
parenta8dfec903bd8cd3b7df9f9d5fbb7100520049302 (diff)
downloadrails-85fa9b6549f6bf0b4ab0262b869bdd3d25969939.tar.gz
rails-85fa9b6549f6bf0b4ab0262b869bdd3d25969939.tar.bz2
rails-85fa9b6549f6bf0b4ab0262b869bdd3d25969939.zip
Remove obsolete or discouraged render examples
Most of these examples no longer work. The ability to render an absolute path was removed as part of CVE-2016-0752. In Rails 6 we changed `render file:` to only take exact paths and always to render them as raw files. Rendering a template with its extensions _is_ supported, but I don't think should be recommended. This also removes `render file:` from an example where it isn't relevant. [ci skip]
Diffstat (limited to 'actionview/test/template/capture_helper_test.rb')
0 files changed, 0 insertions, 0 deletions