From 7de994fa215e9f4c2856d85034bc4dd7b65d0c01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Strza=C5=82kowski?= Date: Wed, 28 Aug 2013 23:43:33 +0200 Subject: Port all remaining self.protected_instance_variables to class methods --- actionpack/lib/abstract_controller/base.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'actionpack/lib/abstract_controller/base.rb') diff --git a/actionpack/lib/abstract_controller/base.rb b/actionpack/lib/abstract_controller/base.rb index af5de815bb..a84ed17bd4 100644 --- a/actionpack/lib/abstract_controller/base.rb +++ b/actionpack/lib/abstract_controller/base.rb @@ -114,6 +114,11 @@ module AbstractController end end + # Define some internal variables that should not be propagated to the view. + def self.default_protected_instance_vars + [] + end + abstract! # Calls the action going through the entire action dispatch stack. -- cgit v1.2.3