11 lines
149 B
Ruby
11 lines
149 B
Ruby
require "administrate/field/base"
|
|
|
|
class GeopointField < Administrate::Field::Base
|
|
def lat
|
|
data.first
|
|
end
|
|
|
|
def lng
|
|
data.last
|
|
end
|
|
end
|