add link to wiki parent page

This commit is contained in:
EricTYL 2019-11-28 16:50:21 +08:00
parent e20ea408dc
commit 0e99dec869
1 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,9 @@
</div> </div>
</td> </td>
<td><%= format_value page.created_at rescue nil %></td> <td><%= format_value page.created_at rescue nil %></td>
<td><%= page.page.page_id rescue "" %></td> <td>
<a href="<%= wiki_parent_admin_page_content_path(:id => page.page_id.to_s) %>" target="_blank"><%= page.page.page_id rescue "" %></a>
</td>
<td><%= User.find(page.update_user_id).user_name rescue nil %></td> <td><%= User.find(page.update_user_id).user_name rescue nil %></td>
</tr> </tr>
<% end %> <% end %>