Permalink
Browse files

Fix for sweepers method_missing missing &block argument [#1581 status…

…:committed]

Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
  • Loading branch information...
1 parent 093f758 commit dd02af5c7e74b4ea0383b0df87824fb2b37f2243 Tys von Gaza committed with dhh Dec 15, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_controller/caching/sweeping.rb
@@ -87,9 +87,9 @@ def callback(timing)
__send__(action_callback_method_name) if respond_to?(action_callback_method_name, true)
end
- def method_missing(method, *arguments)
+ def method_missing(method, *arguments, &block)
return if @controller.nil?
- @controller.__send__(method, *arguments)
+ @controller.__send__(method, *arguments, &block)
end
end
end

0 comments on commit dd02af5

Please sign in to comment.