/pool_versions: fix exception in pool diffs.
https://danbooru.donmai.us/forum_topics/9127?page=280#forum_post_159633
This commit is contained in:
@@ -3,7 +3,10 @@
|
||||
<h1>Pool Version Comparison: <%= @pool_version.name %></h1>
|
||||
|
||||
<ul>
|
||||
<li><strong>Posts</strong>: <%= pool_version_diff(@pool_version, @other_version) %></li>
|
||||
<li>
|
||||
<strong>Posts</strong>:
|
||||
<%= render "pool_versions/diff", diff: @pool_version.build_diff(@other_version) %>
|
||||
</li>
|
||||
<% if @other_version %>
|
||||
<li><strong>Old Desc</strong>: <%= @other_version.description %></li>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user