aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-12-05 18:16:41 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-12-05 18:16:41 +0900
commit7efb4d23c1022108319add6218ae9d9284936ac5 (patch)
tree3f85aa4aec7ac50964ea27a12436a38284e90abe
parent0f8568f58d36a543f9eb423171f42731784b34af (diff)
downloadrails-7efb4d23c1022108319add6218ae9d9284936ac5.tar.gz
rails-7efb4d23c1022108319add6218ae9d9284936ac5.tar.bz2
rails-7efb4d23c1022108319add6218ae9d9284936ac5.zip
Add missing require
Follow up of 3c442b6df91e291ebbf17f37444414bf5f10fbe6 Without this require, it will fail when run CSP test alone. Ref: https://travis-ci.org/rails/rails/jobs/311715758#L2976
-rw-r--r--actionpack/lib/action_dispatch/http/content_security_policy.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/http/content_security_policy.rb b/actionpack/lib/action_dispatch/http/content_security_policy.rb
index c888a27720..4883e23d24 100644
--- a/actionpack/lib/action_dispatch/http/content_security_policy.rb
+++ b/actionpack/lib/action_dispatch/http/content_security_policy.rb
@@ -1,5 +1,7 @@
# frozen_string_literal: true
+require "active_support/core_ext/object/deep_dup"
+
module ActionDispatch #:nodoc:
class ContentSecurityPolicy
class Middleware