diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-05-05 11:18:10 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-05-05 11:18:10 -0500 |
commit | cece50d3a6b432f848ca04a92da331f8b032d51f (patch) | |
tree | 19e2bc3d3c6ce626c7bf473c1024c755ed11cabb /actionpack/lib/abstract_controller | |
parent | 19ba522b90f4b3e5daf469fbbccce708a8cc70ce (diff) | |
download | rails-cece50d3a6b432f848ca04a92da331f8b032d51f.tar.gz rails-cece50d3a6b432f848ca04a92da331f8b032d51f.tar.bz2 rails-cece50d3a6b432f848ca04a92da331f8b032d51f.zip |
Move protected instance variable to the right place
There were a lot of protected instance variables in
AbsctractController::Rendering that were related to Action Controller
and Action View.
Moving to ActionController::Base's protected instance list we make it
closer to where they are really defined.
Diffstat (limited to 'actionpack/lib/abstract_controller')
-rw-r--r-- | actionpack/lib/abstract_controller/rendering.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/actionpack/lib/abstract_controller/rendering.rb b/actionpack/lib/abstract_controller/rendering.rb index 9f192c54f7..a6fb0dbe1d 100644 --- a/actionpack/lib/abstract_controller/rendering.rb +++ b/actionpack/lib/abstract_controller/rendering.rb @@ -60,9 +60,7 @@ module AbstractController end DEFAULT_PROTECTED_INSTANCE_VARIABLES = Set.new %i( - @_action_name @_response_body @_formats @_prefixes @_config - @_view_context_class @_view_renderer @_lookup_context - @_routes @_db_runtime + @_action_name @_response_body @_formats @_prefixes ) # This method should return a hash with assigns. |