Standardize links to wiki help pages.
* Fix inconsistencies in how wiki pages were linked. * Link directly to the wiki instead of to a title search that is expected to redirect to the wiki.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<div id="p-index-by-post">
|
||||
<% if !CurrentUser.user.is_builder? %>
|
||||
<div style="margin-bottom: 1em;">
|
||||
<h2>Before commenting, read the <%= link_to "how to comment guide", wiki_pages_path(:search => {:title => "howto:comment"}) %>.</h2>
|
||||
<h2>Before commenting, read the <%= link_to_wiki "how to comment guide", "howto:comment" %>.</h2>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
<%= quick_search_form_for(:body_matches, comments_path, "comments") %>
|
||||
<%= subnav_link_to "Listing", comments_path(:group_by => "post") %>
|
||||
<%= subnav_link_to "Search", search_comments_path %>
|
||||
<%= subnav_link_to "Help", wiki_pages_path(:title => "help:comments") %>
|
||||
<%= subnav_link_to "Help", wiki_page_path("help:comments") %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user