manager: display procedures on the gestionnaires page

This commit is contained in:
Pierre de La Morinerie 2018-06-20 17:34:11 +02:00
parent 99b9f42b21
commit e953481fd0

View file

@ -14,6 +14,7 @@ class GestionnaireDashboard < Administrate::BaseDashboard
updated_at: Field::DateTime, updated_at: Field::DateTime,
current_sign_in_at: Field::DateTime, current_sign_in_at: Field::DateTime,
dossiers: Field::HasMany, dossiers: Field::HasMany,
procedures: Field::HasMany
}.freeze }.freeze
# COLLECTION_ATTRIBUTES # COLLECTION_ATTRIBUTES
@ -29,6 +30,7 @@ class GestionnaireDashboard < Administrate::BaseDashboard
# SHOW_PAGE_ATTRIBUTES # SHOW_PAGE_ATTRIBUTES
# an array of attributes that will be displayed on the model's show page. # an array of attributes that will be displayed on the model's show page.
SHOW_PAGE_ATTRIBUTES = [ SHOW_PAGE_ATTRIBUTES = [
:procedures,
:dossiers, :dossiers,
:id, :id,
:email, :email,