Cleanup demarche archivee state

This commit is contained in:
Paul Chavard 2019-12-18 13:28:29 +01:00
parent 4527124755
commit fa2eea81aa
6 changed files with 17 additions and 22 deletions

View file

@ -32,8 +32,7 @@ class ProcedureSerializer < ActiveModel::Serializer
end
def state
state = object.aasm_state
state == 'close' ? 'archivee' : state
object.aasm_state
end
def geographic_information