/wiki_page_versions/diff: use SetDiff to diff other_names.

Use SetDiff instead of DiffBuilder to generate diffs for wiki page other
names. SetDiff is what we use for artist other names.
This commit is contained in:
evazion
2020-01-12 15:32:34 -06:00
parent 95dd28fc52
commit 90b94adee8
6 changed files with 24 additions and 18 deletions

View File

@@ -6,9 +6,8 @@
<% if @thispage.visible? %>
<p>Showing differences between <%= compact_time @thispage.updated_at %> (<%= link_to_user @thispage.updater %>) and <%= compact_time @otherpage.updated_at %> (<%= link_to_user @otherpage.updater %>)</p>
<div>
<%= wiki_other_names_diff(@thispage, @otherpage) %>
</div>
<%= wiki_other_names_diff(@thispage, @otherpage) %>
<div>
<%= wiki_body_diff(@thispage, @otherpage) %>
</div>