This commit is contained in:
@@ -325,10 +325,12 @@ class TagsController < ApplicationController
|
||||
with_no_deerjikist: false,
|
||||
deny_nico: true)
|
||||
|
||||
TagVersioning.record_tag_snapshots!((tag.parents.to_a + parent_tags).uniq,
|
||||
old_parent_tags = tag.parents.to_a
|
||||
|
||||
TagVersioning.record_tag_snapshots!((old_parent_tags + parent_tags).uniq,
|
||||
created_by_user: current_user)
|
||||
|
||||
tag.tag_implications.destroy_all
|
||||
tag.reversed_tag_implications.destroy_all
|
||||
|
||||
parent_tags.each do |parent_tag|
|
||||
next if parent_tag == tag
|
||||
|
||||
Reference in New Issue
Block a user