add support for post version queries

This commit is contained in:
r888888888
2016-06-21 13:14:27 -07:00
parent 145229c49f
commit 2ce86ecb8b
9 changed files with 87 additions and 1 deletions

View File

@@ -18,7 +18,7 @@
</thead>
<tbody>
<% post_versions.each do |post_version| %>
<tr id="post-version-<%= post_version.id %>">
<tr id="post-version-<%= post_version.id %>" <% if params[:hilite].to_i == post_version.id %>class="hilite"<% end %>>
<td><%= link_to("#{post_version.post_id}.#{post_version.id}", post_path(post_version.post_id)) %></td>
<td><%= compact_time(post_version.updated_at) %></td>
<td>