demarches-normaliennes/app/models/quartier_prioritaire.rb
Xavier J eb5985efc4 - Save QP on database
- Display on all Map (User and Gestionnaire)
2015-11-25 17:05:14 +01:00

7 lines
137 B
Ruby

class QuartierPrioritaire < ActiveRecord::Base
belongs_to :dossier
def geometry
JSON.parse(read_attribute(:geometry))
end
end