lib/massimo/resource/collection.rb in massimo-0.4.1 vs lib/massimo/resource/collection.rb in massimo-0.4.2

- old
+ new

@@ -15,10 +15,10 @@ files = site.options[collection_name.to_sym] if files && files.is_a?(Array) files = files.dup add_full_path!(files) else - files = Dir.glob(File.join(dir, "**", "*")) + files = Dir.glob(File.join(dir, "**/*")) reject_partials_and_directories!(files) reject_skipped_files!(files) end files end