olwen_demo_app/app/models/download_content.rb
Nicolas Bally 7b2e6811dd initial
2020-06-05 11:10:02 +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