diff options
author | Alexey Vakhov <vakhov@gmail.com> | 2011-10-08 11:01:31 +0400 |
---|---|---|
committer | Alexey Vakhov <vakhov@gmail.com> | 2011-10-08 11:01:31 +0400 |
commit | a4515b60e316d52a6ac2902886b117588702e20b (patch) | |
tree | 4e99cef54e6aac47242c4f261bcc8522ed755c6f /actionpack/lib | |
parent | 7f64e472772293a3a5bbf4a435d937dabd98ed92 (diff) | |
download | rails-a4515b60e316d52a6ac2902886b117588702e20b.tar.gz rails-a4515b60e316d52a6ac2902886b117588702e20b.tar.bz2 rails-a4515b60e316d52a6ac2902886b117588702e20b.zip |
Remove unnecessary dup in expire_page
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/caching/pages.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/caching/pages.rb b/actionpack/lib/action_controller/caching/pages.rb index 496390402b..957bb7de6b 100644 --- a/actionpack/lib/action_controller/caching/pages.rb +++ b/actionpack/lib/action_controller/caching/pages.rb @@ -122,7 +122,7 @@ module ActionController #:nodoc: 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 |