From 843bb9fd2cc6c655d2e8f7fcdac998a3b8119fbe Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Fri, 26 May 2017 21:31:51 +0200 Subject: [PATCH] Format the User loged_in_with_france_connect enum correctly --- app/models/user.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/models/user.rb b/app/models/user.rb index 7ea29d260..3c7574789 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -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