Skip to content

Commit

Permalink
ignore underscore files
Browse files Browse the repository at this point in the history
  • Loading branch information
ddollar committed Aug 16, 2010
1 parent 1e222c1 commit c222571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/asset_resource/middleware.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def base_path

def files_for(type)
Dir.glob(File.expand_path(File.join(base_path, type, "**", "*"))).select do |file|
File.exist?(file)
File.exist?(file) && file[0..0] != "_"
end
end

Expand Down

0 comments on commit c222571

Please sign in to comment.