aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorPeter Wagenet <peter.wagenet@gmail.com>2018-01-04 15:51:03 -0800
committerGitHub <noreply@github.com>2018-01-04 15:51:03 -0800
commit6fe9cc80fccaa553e1bd611a7247ba1320895071 (patch)
tree94955eca5cc937c535aa3687e825aaf228e19845 /actionpack
parent39f6c6c641f0c92c532e0c3747d1536af657920f (diff)
downloadrails-6fe9cc80fccaa553e1bd611a7247ba1320895071.tar.gz
rails-6fe9cc80fccaa553e1bd611a7247ba1320895071.tar.bz2
rails-6fe9cc80fccaa553e1bd611a7247ba1320895071.zip
Add missing require for `strip_heredoc`
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/metal/request_forgery_protection.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/metal/request_forgery_protection.rb b/actionpack/lib/action_controller/metal/request_forgery_protection.rb
index 767eddb361..0ab313e398 100644
--- a/actionpack/lib/action_controller/metal/request_forgery_protection.rb
+++ b/actionpack/lib/action_controller/metal/request_forgery_protection.rb
@@ -3,6 +3,7 @@
require "rack/session/abstract/id"
require "action_controller/metal/exceptions"
require "active_support/security_utils"
+require "active_support/core_ext/string/strip"
module ActionController #:nodoc:
class InvalidAuthenticityToken < ActionControllerError #:nodoc: