little modification for rss2 import
This commit is contained in:
parent
122cff5a92
commit
6624156d57
|
@ -12,6 +12,7 @@ class Album
|
|||
field :cover_path #can refact
|
||||
field :tag_names
|
||||
field :uid, type: String
|
||||
field :rss2_id, type: String
|
||||
|
||||
# has_and_belongs_to_many :tags, :class_name => "GalleryTag"
|
||||
has_many :album_images, :autosave => true, :dependent => :destroy
|
||||
|
|
|
@ -7,6 +7,7 @@ class AlbumImage
|
|||
|
||||
field :title
|
||||
field :description, localize: true
|
||||
field :rss2_id, type: String
|
||||
|
||||
# has_and_belongs_to_many :tags, :class_name => "GalleryTag"
|
||||
|
||||
|
|
Loading…
Reference in New Issue