⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
MyCyma
All Projects
MyCyma
Overview
Activity
Issues
Repository
Download (232 Bytes)
Statistics
| Branch:
master
| Tag:
0.2.0
| Revision:
root
/
app
/
models
/
artwork_step.rb
@ ec3dc179
View
History
Annotate
b689e231
Marc Dequènes (Duck)
class
ArtworkStep
<
ActiveRecord
::
Base
belongs_to
:artwork
17df3709
Marc Dequènes (Duck)
before_save
{
|
model
|
model
.
position
||=
0
}
b689e231
Marc Dequènes (Duck)
def
self
.
base_upload_path
"public/images/artwork_steps"
end
def
human_size
"
#{
height
}
x
#{
width
}
"
end
end
Loading...