From 200ce6e150a05e41508a6ed4bea072cc563b41f4 Mon Sep 17 00:00:00 2001 From: Toks Date: Fri, 17 Jan 2014 18:58:47 -0500 Subject: [PATCH] Add redundant link to post search on wiki pages This should make it more clear that the ~6 posts displayed are just a sample, not all of them. --- app/helpers/wiki_pages_helper.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/helpers/wiki_pages_helper.rb b/app/helpers/wiki_pages_helper.rb index 382b6ae9b..afe7033fe 100644 --- a/app/helpers/wiki_pages_helper.rb +++ b/app/helpers/wiki_pages_helper.rb @@ -38,7 +38,8 @@ module WikiPagesHelper html = '
' if Post.fast_count(wiki_page.title) > 0 - html << "

Posts

" + full_link = link_to("view all", posts_path(:tags => wiki_page.title)) + html << "

Posts (#{full_link})

" html << wiki_page.post_set.presenter.post_previews_html(self) end