Fix editing a tag module

This commit is contained in:
chris 2013-10-16 23:34:51 +08:00
parent d2459f42c0
commit a76164465e
1 changed files with 2 additions and 2 deletions

View File

@ -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