ordering added to albums

This commit is contained in:
harrybomrah committed 2015-04-16 23:10:25 +08:00
1 parent 7e432bd1ed
commit 8aead66ac5
8 files changed
+55 -27

No files matched your search

+1
View File
@@ -13,6 +13,7 @@ class Album
field :tag_names
field :uid, type: String
field :rss2_id, type: String
field :order, type: Integer, default: 0
# has_and_belongs_to_many :tags, :class_name => "GalleryTag"
has_many :album_images, :autosave => true, :dependent => :destroy