add skip_pj_validation accessor to TypeDeChamp

This commit is contained in:
clemkeirua 2020-07-09 10:50:30 +02:00 committed by Keirua (Rebase PR Action)
parent 45d6ba6b69
commit bdbe57debd

View file

@ -35,7 +35,7 @@ class TypeDeChamp < ApplicationRecord
belongs_to :parent, class_name: 'TypeDeChamp'
has_many :types_de_champ, -> { ordered }, foreign_key: :parent_id, class_name: 'TypeDeChamp', inverse_of: :parent, dependent: :destroy
store_accessor :options, :cadastres, :quartiers_prioritaires, :parcelles_agricoles, :old_pj, :drop_down_options
store_accessor :options, :cadastres, :quartiers_prioritaires, :parcelles_agricoles, :old_pj, :drop_down_options, :skip_pj_validation
delegate :tags_for_template, to: :dynamic_type
class WithIndifferentAccess