coton_app/app/models/download_content.rb
2018-12-15 14:06:53 +01:00

13 lines
306 B
Ruby

# -*- encoding : utf-8 -*-
class DownloadContent < ActiveRecord::Base
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