Wrap search results in a presenter
authorMarius Mathiesen <marius@gitorious.org>
Mon, 26 Nov 2012 10:41:27 +0000 (11:41 +0100)
committerMarius Mathiesen <marius@gitorious.org>
Mon, 26 Nov 2012 10:41:27 +0000 (11:41 +0100)
commit711e47b5a9716a65cef190945b313b5347d3be24
treec297d4961e14160369ef73fb930228d52282fc5f
parenta92d34f4baae6df9cfdb760acc9d2b35823fea94
Wrap search results in a presenter

Using implicit partials doesn't work really well with more search
results.

Not searching comments, since there's no easy way to build a link for it.
app/controllers/searches_controller.rb
app/helpers/searches_helper.rb
app/views/searches/_result.html.erb [new file with mode: 0644]
app/views/searches/show.html.erb
test/functional/searches_controller_test.rb