Orbit/app/models/desktop/desktop_wallpaper.rb

11 lines
179 B
Ruby
Raw Permalink Normal View History

class DesktopWallpaper
include Mongoid::Document
include Mongoid::Timestamps
mount_uploader :file, ImageUploader
field :type
field :link
belongs_to :desktop
end