Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ensure Dir.glob is sorted

  • Loading branch information...
commit 15438c41bb618ac8c766b1e8225bd722de23fa90 1 parent f4858e4
@josh josh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/lib/rails/paths.rb
View
2  railties/lib/rails/paths.rb
@@ -179,7 +179,7 @@ def expanded
path = File.expand_path(p, @root.path)
if @glob
- result.concat Dir[File.join(path, @glob)]
+ result.concat Dir[File.join(path, @glob)].sort
else
result << path
end
Please sign in to comment.
Something went wrong with that request. Please try again.