mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
add attached_file property to location model
This commit is contained in:
parent
3097be4a5a
commit
01204e1443
@ -6,6 +6,13 @@ class Location
|
||||
field :type_of, :type => String
|
||||
field :description, :type => String
|
||||
|
||||
# Map
|
||||
has_attached_file :map, styles: {
|
||||
thumb: '200x200>',
|
||||
square: '300x300#',
|
||||
medium: '400x400>'
|
||||
}
|
||||
|
||||
# Culture
|
||||
field :population, :type => String
|
||||
field :language, :type => String
|
||||
|
||||
Loading…
Reference in New Issue
Block a user