add link to wiki page

This commit is contained in:
EricTYL 2019-11-28 16:38:55 +08:00
parent 20ca6213d1
commit af163af3e7
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
<% @wikis.each do |page| %>
<tr>
<td>
<a href="" target="_blank"><%= page.title %></a>
<a href="/<%= I18n.locale %><%= @page.url + '/?wiki=' + page.uid.to_s %>" target="_blank"><%= page.title %></a>
<div class="quick-edit">
<ul class="nav nav-pills">
<% if can_edit_or_delete?(page.page) %>