Fix #4159: Add pool history to post show pages.

This commit is contained in:
evazion
2019-09-08 23:28:02 -05:00
parent b202985eaa
commit 964a073ec3
3 changed files with 9 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
<div id="a-index">
<h1>Pool History</h1>
<% if params.dig(:search, :pool_id).present? %>
<% if params.dig(:search, :pool_id).present? || params.dig(:search, :post_id).present? %>
<%= render "revert_listing" %>
<% else %>
<%= render "standard_listing" %>