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:
@@ -48,7 +48,7 @@
|
||||
|
||||
<tr>
|
||||
<th>Upload Limit</th>
|
||||
<td><%= presenter.upload_limit(self) %> (<%= link_to "help", wiki_pages_path(title: "about:upload_limits") %>)</td>
|
||||
<td><%= presenter.upload_limit(self) %> (<%= link_to_wiki "help", "about:upload_limits" %>)</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
@@ -193,7 +193,7 @@
|
||||
<th>API Key</th>
|
||||
<td>
|
||||
<%= link_to (CurrentUser.api_key ? "View" : "Generate"), user_api_key_path(CurrentUser.user) %>
|
||||
(<%= link_to "help", wiki_pages_path(title: "help:api") %>)
|
||||
(<%= link_to_wiki "help", "help:api" %>)
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user