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.
This commit is contained in:
@@ -38,7 +38,8 @@ module WikiPagesHelper
|
||||
html = '<div id="wiki-page-posts">'
|
||||
|
||||
if Post.fast_count(wiki_page.title) > 0
|
||||
html << "<h2>Posts</h2>"
|
||||
full_link = link_to("view all", posts_path(:tags => wiki_page.title))
|
||||
html << "<h2>Posts (#{full_link})</h2>"
|
||||
html << wiki_page.post_set.presenter.post_previews_html(self)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user