diff --git a/README.md b/README.md index a07c549..836e11e 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ class ModelDashboard < Administrate::BaseDashboard } # permitted for has_many_attached - def permitted_attributes + def permitted_attributes(_action = nil) super + [:attachments => []] end ```