aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_view/base.rb')
-rw-r--r--actionpack/lib/action_view/base.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb
index 8e778f6830..ee908214db 100644
--- a/actionpack/lib/action_view/base.rb
+++ b/actionpack/lib/action_view/base.rb
@@ -328,6 +328,8 @@ module ActionView #:nodoc:
@@sanitized_allowed_protocols.merge(attributes)
end
+ delegate :request_forgery_protection_token, :to => :controller
+
@@template_handlers = HashWithIndifferentAccess.new
module CompiledTemplates #:nodoc: