Show 20 procedures in administrateur#show (default was 5)

This commit is contained in:
Mathieu Magnin 2018-01-16 16:43:32 +01:00
parent ef0907db93
commit 3aa6357d66

View file

@ -12,7 +12,7 @@ class AdministrateurDashboard < Administrate::BaseDashboard
email: Field::String, email: Field::String,
created_at: Field::DateTime, created_at: Field::DateTime,
updated_at: Field::DateTime, updated_at: Field::DateTime,
procedures: Field::HasMany, procedures: Field::HasMany.with_options(limit: 20),
}.freeze }.freeze
# COLLECTION_ATTRIBUTES # COLLECTION_ATTRIBUTES