clair_app/app/models/download_content.rb
Nicolas Bally c2f8ec2efb initial
2020-10-10 00:28:38 +02:00

13 lines
305 B
Ruby

# -*- encoding : utf-8 -*-
class DownloadContent < ApplicationRecord
belongs_to :data_file
has_one :portlet, :as => :content, :dependent => :destroy
STYLES = ["normal", "avec-photo"]#[["Medium","1"], ["Small","2"], ["Square","3"], ["Thumb","4"]]
def self.picto
"cloud-download"
end
end