diff options
Diffstat (limited to 'actionpack/lib')
-rwxr-xr-x | actionpack/lib/action_controller/base.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index 067dcacca6..b338904142 100755 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -623,6 +623,8 @@ module ActionController #:nodoc: def render_to_string(options = nil) #:doc: result = render(options) erase_render_results + @variables_added = nil + @template.instance_variable_set("@assigns_added", nil) result end |