Permalink
Browse files

added ordering to rails-footnotes/notes/*.rb files

  • Loading branch information...
1 parent 154ebdb commit 5a3264d8e47445300b270946295ba79bad078c08 @alexis alexis committed with kbrock Jun 17, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rails-footnotes.rb
View
@@ -8,7 +8,7 @@
# Load all notes
#
- Dir[File.join(dir, 'rails-footnotes', 'notes', '*.rb')].each do |note|
+ Dir[File.join(dir, 'rails-footnotes', 'notes', '*.rb')].sort.each do |note|
require note
end
@@ -20,4 +20,4 @@ class ActionController::Base
prepend_before_filter Footnotes::Filter
after_filter Footnotes::Filter
end
-end
+end

0 comments on commit 5a3264d

Please sign in to comment.