Compare commits
No commits in common. "master" and "v0.0.1" have entirely different histories.
|
|
@ -0,0 +1,12 @@
|
|||
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