Fix #4163: Remove reversion links outside of the proper context.

This commit is contained in:
evazion
2019-09-12 22:37:32 -05:00
parent f8dd3eb72b
commit 793c07341d

View File

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