Administrateur can be select dynamically the activation of api carto modules
This commit is contained in:
parent
8130e7d155
commit
0e3bec7f9f
17 changed files with 186 additions and 25 deletions
|
@ -1,7 +1,7 @@
|
|||
class ModuleAPICarto < ActiveRecord::Base
|
||||
enum name: {'quartiers_prioritaires' => 'quartiers_prioritaires'}
|
||||
|
||||
belongs_to :procedure
|
||||
|
||||
validates :name, presence: true, allow_blank: false, allow_nil: false
|
||||
validates :use_api_carto, presence: true, allow_blank: true, allow_nil: false
|
||||
validates :quartiers_prioritaires, presence: true, allow_blank: true, allow_nil: false
|
||||
validates :cadastre, presence: true, allow_blank: true, allow_nil: false
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue