diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-12-14 16:07:46 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-12-14 16:07:46 -0600 |
commit | 70c3e825fc184c7267d226c7b365af4db17f58b7 (patch) | |
tree | 4ff54218ded6c0e5760a4b19ea302327fa5cc23e /actionpack | |
parent | bcb686054a101c346eb13fee2053f08a585a7b55 (diff) | |
download | rails-70c3e825fc184c7267d226c7b365af4db17f58b7.tar.gz rails-70c3e825fc184c7267d226c7b365af4db17f58b7.tar.bz2 rails-70c3e825fc184c7267d226c7b365af4db17f58b7.zip |
Fix response_body warning in AC
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/abstract_controller/base.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/abstract_controller/base.rb b/actionpack/lib/abstract_controller/base.rb index 70b5f5b3ef..905d04e20d 100644 --- a/actionpack/lib/abstract_controller/base.rb +++ b/actionpack/lib/abstract_controller/base.rb @@ -90,6 +90,8 @@ module AbstractController raise ActionNotFound, "The action '#{action}' could not be found" end + @_response_body = nil + process_action(action_name) end |