Fix editing a tag module
This commit is contained in:
parent
d2459f42c0
commit
a76164465e
|
@ -30,8 +30,8 @@ class ModuleTag
|
|||
if self.new_record?
|
||||
self.build_tag(name_translations: self.name_translations, is_default: self.is_default)
|
||||
else
|
||||
self.tag.name_translations = self.name_translations
|
||||
self.tag.is_default = self.is_default
|
||||
self.tag.attributes = {:name_translations => self.name_translations}
|
||||
self.tag.attributes = {:is_default => self.is_default}
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Reference in New Issue