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:
+1
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user