Enable show_all for /pages

This commit is contained in:
bootstraponline
2012-10-22 19:10:40 -06:00
parent fbc0548b43
commit e08d2d3052
3 changed files with 22 additions and 1 deletions
+1
View File
@@ -323,6 +323,7 @@ module Precious
wiki_options = settings.wiki_options.merge({ :page_file_dir => @path })
wiki = Gollum::Wiki.new(settings.gollum_path, wiki_options)
@results = wiki.pages
@results += wiki.files if settings.wiki_options[:show_all]
@ref = wiki.ref
mustache :pages
end