Skip to content
Browse files

Fixes the bug with the "A copy of ApplicationController has been remo…

…ved from the module tree but is still active!". cf. http://strd6.com/2009/04/cant-dup-nilclass-maybe-try-unloadable/
  • Loading branch information...
1 parent 6c3943d commit e1af26a13d5804f5bb619fe5faff1fd1db55916a @martin-denizet committed Oct 12, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/cleanup_tmp.rb
View
1 lib/cleanup_tmp.rb
@@ -8,6 +8,7 @@ def self.included(base) # :nodoc:
base.send(:include, InstanceMethods)
base.class_eval do
+ unloadable
alias_method_chain :logout, :cleanup
end
end

0 comments on commit e1af26a

Please sign in to comment.
Something went wrong with that request. Please try again.