root/app/models/artwork_step.rb @ 14a5963c
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
|