Skip to content

Commit

Permalink
added ordering to rails-footnotes/notes/*.rb files
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis authored and kbrock committed Jun 24, 2010
1 parent 154ebdb commit 5a3264d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rails-footnotes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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.