Fix #4163: Remove reversion links outside of the proper context.
This commit is contained in:
@@ -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" %>
|
||||
|
||||
Reference in New Issue
Block a user