diff options
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/caching.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/caching.rb b/actionpack/lib/action_controller/caching.rb index 5e6fe3948b..4c1c6e6679 100644 --- a/actionpack/lib/action_controller/caching.rb +++ b/actionpack/lib/action_controller/caching.rb @@ -532,6 +532,8 @@ module ActionController #:nodoc: def after(controller) callback(:after) + # Clean up, so that the controller can be collected after this request + self.controller = nil end private |