Add search results page

This commit is contained in:
Eston Bond
2010-11-12 16:01:29 -08:00
parent 18b648a7b0
commit 36f890d28d
7 changed files with 90 additions and 20 deletions
+1
View File
@@ -134,6 +134,7 @@ module Precious
@query = params[:q]
wiki = Gollum::Wiki.new(settings.gollum_path)
@results = wiki.search @query
@name = @query
mustache :search
end