diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2017-11-09 22:09:00 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-09 22:09:00 +0900 |
commit | 2d5700b9a3e2ac25a5ff349ca6d3dc27077cea13 (patch) | |
tree | 24729ab9d05e58b264f5e1e0be27f44bf2616db1 /actionpack/lib/action_controller/metal/request_forgery_protection.rb | |
parent | 4022f33416a00fd6a18989aa54f60573f48be0a0 (diff) | |
download | rails-2d5700b9a3e2ac25a5ff349ca6d3dc27077cea13.tar.gz rails-2d5700b9a3e2ac25a5ff349ca6d3dc27077cea13.tar.bz2 rails-2d5700b9a3e2ac25a5ff349ca6d3dc27077cea13.zip |
Use `Dir.mktmpdir`
As `@cache_path` is expected to be a directory name, use `Dir.mktmpdir`.
And omit unnecessary `Dir.tmpdir`.
Diffstat (limited to 'actionpack/lib/action_controller/metal/request_forgery_protection.rb')
0 files changed, 0 insertions, 0 deletions