1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

these variables are also private

This commit is contained in:
Aaron Patterson 2013-11-06 13:37:24 -08:00
parent 32e94a488f
commit 697acc4025

View file

@ -58,6 +58,7 @@ module AbstractController
DEFAULT_PROTECTED_INSTANCE_VARIABLES = %w(
@_action_name @_response_body @_formats @_prefixes @_config
@_view_context_class @_view_renderer @_lookup_context
@_routes @_db_runtime
).map(&:to_sym)
# This method should return a hash with assigns.