mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-27 03:46:22 +00:00
Merge branch 'issue-7537' into panel.testing.sutty.nl
This commit is contained in:
commit
ee9e4a3d41
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ PostService = Struct.new(:site, :usuarie, :post, :params, keyword_init: true) do
|
|||
when 'belongs_to', 'has_one'
|
||||
if value_was.present?
|
||||
associated_posts(value_was).each do |remove_post|
|
||||
remove_relation_from(remove_post[inverse_attribute], value_was)
|
||||
remove_relation_from(remove_post[inverse_attribute], post.uuid.value)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue