root/app/models/artwork_step.rb @ 8ff59b90
b689e231 | Marc Dequènes (Duck) | class ArtworkStep < ActiveRecord::Base
|
|
belongs_to :artwork
|
|||
def self.base_upload_path
|
|||
"public/images/artwork_steps"
|
|||
end
|
|||
def human_size
|
|||
"#{height} x #{width}"
|
|||
end
|
|||
end
|