Add auto champs objects at a dossier (same as PJ)

Add dynamic of Champs on the description page
Rename model 'Champs' to 'Champ'
This commit is contained in:
Xavier J 2015-11-03 15:27:49 +01:00
parent 56eccf55df
commit 27dbd3a878
14 changed files with 103 additions and 81 deletions

View file

@ -11,7 +11,6 @@ ActiveSupport::Inflector.inflections(:en) do |inflect|
inflect.acronym 'API'
inflect.irregular 'piece_justificative', 'pieces_justificatives'
inflect.irregular 'type_de_piece_justificative', 'types_de_piece_justificative'
inflect.irregular 'champs', 'champs'
inflect.irregular 'type_de_champs', 'types_de_champs'
end