pmr_app/app/models/download_content.rb
Nicolas Bally 428372d6f9 initial
2016-02-08 10:27:25 +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