Permalink
Browse files

Remove unnecessary dup in expire_page

  • Loading branch information...
1 parent 7f64e47 commit a4515b60e316d52a6ac2902886b117588702e20b @avakhov avakhov committed Oct 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/caching/pages.rb
@@ -122,7 +122,7 @@ def expire_page(options = {})
if options.is_a?(Hash)
if options[:action].is_a?(Array)
- options[:action].dup.each do |action|
+ options[:action].each do |action|
self.class.expire_page(url_for(options.merge(:only_path => true, :action => action)))
end
else

0 comments on commit a4515b6

Please sign in to comment.