Rename create element consistency check

This commit is contained in:
Anton Khorev 2024-03-30 10:13:24 +03:00
parent f50ca826aa
commit 29432d5e9f
4 changed files with 4 additions and 4 deletions

View file

@ -189,7 +189,7 @@ class Node < ApplicationRecord
end
def create_with_history(user)
check_create_consistency(self, user)
check_create_element_consistency(self, user)
self.version = 0
self.visible = true