diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-04-21 02:43:48 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-04-21 02:43:48 +0100 |
commit | caa03a5c870c6a03a35f6dcfaf040a6d689eaee2 (patch) | |
tree | 3f978f885b01f49d62ee56db713a8c87cb19e39a | |
parent | ef8d26653d308354050ed80f61444bec5458ce05 (diff) | |
download | rails-caa03a5c870c6a03a35f6dcfaf040a6d689eaee2.tar.gz rails-caa03a5c870c6a03a35f6dcfaf040a6d689eaee2.tar.bz2 rails-caa03a5c870c6a03a35f6dcfaf040a6d689eaee2.zip |
Remove ActionController::Base#add_class_variables_to_assigns
-rwxr-xr-x | actionpack/lib/action_controller/base.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index c0f3122fbf..93007e2d1c 100755 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -1194,7 +1194,6 @@ module ActionController #:nodoc: def add_variables_to_assigns unless @variables_added add_instance_variables_to_assigns - add_class_variables_to_assigns if view_controller_internals @variables_added = true end end @@ -1215,12 +1214,6 @@ module ActionController #:nodoc: end end - def add_class_variables_to_assigns - %w(view_paths logger).each do |cvar| - @assigns[cvar] = self.send(cvar) - end - end - def protected_instance_variables if view_controller_internals %w(@assigns @performed_redirect @performed_render) |