demarches-normaliennes/app/models/quartier_prioritaire.rb

8 lines
149 B
Ruby
Raw Normal View History

2018-03-06 13:44:29 +01:00
class QuartierPrioritaire < ApplicationRecord
belongs_to :dossier, touch: true
def geometry
JSON.parse(read_attribute(:geometry))
end
end