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:
evazion
2019-10-31 02:44:08 -05:00
parent a8fc2ba508
commit 5422db1c3c
31 changed files with 60 additions and 56 deletions

View File

@@ -14,7 +14,7 @@
<% end %>
<%= subnav_link_to "Search", search_forum_posts_path %>
<%= subnav_link_to "Help", wiki_pages_path(:title => "help:forum") %>
<%= subnav_link_to "Help", wiki_page_path("help:forum") %>
<% if CurrentUser.is_member? && @forum_topic && !@forum_topic.new_record? %>
<li>|</li>
<%= subnav_link_to "Reply", new_forum_post_path(:topic_id => @forum_topic.id) %>