lib/bonsai/navigation.rb in bonsai-1.1.2 vs lib/bonsai/navigation.rb in bonsai-1.1.3
- old
+ new
@@ -1,7 +1,7 @@
module Bonsai
class Navigation
def self.tree
- Page.all(Page.path, "*").select{|p| !p.floating? }
+ Page.all(Page.path, "*").select{|p| !p.floating? }.sort_by{|p| p.disk_path }
end
end
end
\ No newline at end of file