diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-08-08 21:42:45 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-08-08 21:42:45 -0700 |
commit | 128467e9278f488e6a97899ee5f7880a8a0c129f (patch) | |
tree | 9915dcd813899d622bea79e1d8e33e9f1dc51f05 /actionpack/lib | |
parent | 295a7fd1bb8f56a1c35162bb944c36357008001a (diff) | |
download | rails-128467e9278f488e6a97899ee5f7880a8a0c129f.tar.gz rails-128467e9278f488e6a97899ee5f7880a8a0c129f.tar.bz2 rails-128467e9278f488e6a97899ee5f7880a8a0c129f.zip |
reduce file stats by improving our dir glob pattern
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/template/resolver.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/template/resolver.rb b/actionpack/lib/action_view/template/resolver.rb index 979be701b2..c66990e1ca 100644 --- a/actionpack/lib/action_view/template/resolver.rb +++ b/actionpack/lib/action_view/template/resolver.rb @@ -241,7 +241,7 @@ module ActionView exts.each do |ext| query << "{" - ext.compact.each { |e| query << ".#{e}," } + ext.compact.uniq.each { |e| query << ".#{e}," } query << "}" end |