Improve the formatting of the Dossier state enum

This commit is contained in:
gregoirenovel 2017-05-26 18:27:51 +02:00
parent 1816aef7d0
commit 51dd6df1c0

View file

@ -1,8 +1,9 @@
class Dossier < ActiveRecord::Base
enum state: {draft: 'draft',
enum state: {
draft: 'draft',
initiated: 'initiated',
replied: 'replied', #action utilisateur demandé
updated: 'updated', #etude par l'administration en cours
replied: 'replied', # action utilisateur demandé
updated: 'updated', # etude par l'administration en cours
received: 'received',
closed: 'closed',
refused: 'refused',