Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
spen | 7b9fdd710c |
|
@ -1,12 +0,0 @@
|
||||||
class Location
|
|
||||||
include Mongoid::Document
|
|
||||||
include Mongoid::Timestamps
|
|
||||||
include OrbitCategory::Categorizable
|
|
||||||
|
|
||||||
mount_uploader :file, LocationUploader
|
|
||||||
|
|
||||||
field :name
|
|
||||||
field :description
|
|
||||||
field :longitude, type: Float
|
|
||||||
field :latitude, type: Float
|
|
||||||
end
|
|
Loading…
Reference in New Issue