rescue fallback
This commit is contained in:
parent
4e9968f58f
commit
f01785443e
|
@ -17,9 +17,9 @@
|
|||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<td><a href="/admin/page_contents/<%= page.id.to_s %>/view" ><%= page.page_contexts.last.version %></a></td>
|
||||
<td><%= format_value page.page_contexts.last.updated_at %></td>
|
||||
<td><%= User.find(page.page_contexts.last.update_user_id).user_name %></td>
|
||||
<td><a href="/admin/page_contents/<%= page.id.to_s %>/view" ><%= page.page_contexts.last.version rescue nil %></a></td>
|
||||
<td><%= format_value page.page_contexts.last.updated_at rescue nil %></td>
|
||||
<td><%= User.find(page.page_contexts.last.update_user_id).user_name rescue nil %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
|
|
Loading…
Reference in New Issue