Wiki#pages uses the treemap

This commit is contained in:
rick
2010-08-30 17:41:35 -07:00
parent 7e2b1fdbc6
commit 6dab4f7fe6
3 changed files with 31 additions and 26 deletions
+1 -1
View File
@@ -271,7 +271,7 @@ module Gollum
map.each do |entry|
next unless checked_dir.nil? || entry.dir.downcase == checked_dir
next unless page_match(name, entry.name)
return self.class.new(@wiki).populate(entry.blob(@wiki.repo), entry.dir)
return entry.page(@wiki, @version)
end
return nil # nothing was found