Merge branch 'rails' into anonymous

This commit is contained in:
f 2020-02-14 16:40:36 -03:00
commit 19319d1ed8
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -53,6 +53,7 @@ PostService = Struct.new(:site, :usuarie, :post, :params, keyword_init: true) do
post = posts.find(uuid, uuid: true)
order = reorder[uuid].to_i
next unless post
next unless post.attributes.include? :order
next if post.order.value == order