Format the User loged_in_with_france_connect enum correctly

This commit is contained in:
gregoirenovel 2017-05-26 21:31:51 +02:00
parent 258a80b0d7
commit 843bb9fd2c

View file

@ -1,6 +1,8 @@
class User < ActiveRecord::Base
enum loged_in_with_france_connect: {particulier: 'particulier',
entreprise: 'entreprise'}
enum loged_in_with_france_connect: {
particulier: 'particulier',
entreprise: 'entreprise'
}
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable