Permalink
Browse files

reduce file stats by improving our dir glob pattern

  • Loading branch information...
1 parent 295a7fd commit 128467e9278f488e6a97899ee5f7880a8a0c129f @tenderlove tenderlove committed Aug 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/template/resolver.rb
@@ -241,7 +241,7 @@ def build_query(path, details)
exts.each do |ext|
query << "{"
- ext.compact.each { |e| query << ".#{e}," }
+ ext.compact.uniq.each { |e| query << ".#{e}," }
query << "}"
end

0 comments on commit 128467e

Please sign in to comment.