Revert "Gollum::Wiki#pages come back sorted by title, not permalink or the default ordering from git ls-tree."

This reverts commit e37a8b9da4.
This commit is contained in:
rick
2010-10-06 13:17:47 -07:00
parent 251d5c8201
commit dd7dddddcf
6 changed files with 10 additions and 14 deletions
+1 -3
View File
@@ -221,9 +221,7 @@ module Gollum
#
# Returns an Array of Gollum::Page instances.
def pages(treeish = nil)
tree_list(treeish || 'master').sort! do |x, y|
x.title.downcase <=> y.title.downcase
end
tree_list(treeish || 'master')
end
# Public: Returns the number of pages accessible from a commit