This commit is contained in:
BoHung Chiu 2021-09-01 12:55:33 +08:00
parent f2965fda14
commit 8d03a48dc4
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ class AlbumImage
mount_uploader :file, GalleryUploader
field :title
field :title_translations, type: Hash, default: {}
field :description, localize: true
field :description, type: String, localize: true, default: ""
field :rss2_id, type: String
field :order, type: Integer, default: -1