[fix #504] Dossier: without_continuation -> sans_suite

This commit is contained in:
Simon Lehericey 2017-12-04 20:23:57 +01:00 committed by LeSim
parent 2be9b8d2ba
commit c83552f423
22 changed files with 64 additions and 41 deletions

View file

@ -18,4 +18,11 @@ namespace :'2017_12_04_translate_dossier_state_to_french' do
task refuse: :environment do
Dossier.unscoped.where(state: 'refused').update_all(state: 'refuse')
end
task sans_suite: :environment do
Dossier.unscoped.where(state: 'without_continuation').update_all(state: 'sans_suite')
end
task all: %i(brouillon en_construction en_instruction accepte refuse sans_suite) do
end
end