fixes #1192
This commit is contained in:
@@ -9,6 +9,6 @@ module PoolVersionsHelper
|
|||||||
added = current.post_id_array - prev.post_id_array
|
added = current.post_id_array - prev.post_id_array
|
||||||
removed = prev.post_id_array - current.post_id_array
|
removed = prev.post_id_array - current.post_id_array
|
||||||
|
|
||||||
(added.map {|x| '<ins><a href="/posts/' + x.to_s + '">' + x.to_s + '</a></ins>'}.join(" ") + removed.map {|x| '<del><a href="/posts/' + x.to_s + '">' + x.to_s + '</a></del>'}.join(" ")).html_safe
|
(added.map {|x| '<ins><a href="/posts/' + x.to_s + '">' + x.to_s + '</a></ins>'}.join(" ") + " " + removed.map {|x| '<del><a href="/posts/' + x.to_s + '">' + x.to_s + '</a></del>'}.join(" ")).html_safe
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user