Cleanup demarche archivee state
This commit is contained in:
parent
4527124755
commit
fa2eea81aa
6 changed files with 17 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue