Format the User loged_in_with_france_connect enum correctly
This commit is contained in:
parent
258a80b0d7
commit
843bb9fd2c
1 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
||||||
class User < ActiveRecord::Base
|
class User < ActiveRecord::Base
|
||||||
enum loged_in_with_france_connect: {particulier: 'particulier',
|
enum loged_in_with_france_connect: {
|
||||||
entreprise: 'entreprise'}
|
particulier: 'particulier',
|
||||||
|
entreprise: 'entreprise'
|
||||||
|
}
|
||||||
|
|
||||||
# Include default devise modules. Others available are:
|
# Include default devise modules. Others available are:
|
||||||
# :confirmable, :lockable, :timeoutable and :omniauthable
|
# :confirmable, :lockable, :timeoutable and :omniauthable
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue