manager: show if a user email address is confirmed or not

This commit is contained in:
Pierre de La Morinerie 2018-07-17 11:45:30 +02:00
parent 9c0ea356de
commit 5c9676678d

View file

@ -10,6 +10,7 @@ class UserDashboard < Administrate::BaseDashboard
ATTRIBUTE_TYPES = {
id: Field::Number,
email: Field::String,
confirmed?: Field::Boolean,
created_at: Field::DateTime,
updated_at: Field::DateTime,
current_sign_in_at: Field::DateTime,
@ -32,6 +33,7 @@ class UserDashboard < Administrate::BaseDashboard
:dossiers,
:id,
:email,
:confirmed?,
:current_sign_in_at,
:created_at,
].freeze