Skip to content

Commit

Permalink
Update documentation for permitted_attributes in dashboard for compat…
Browse files Browse the repository at this point in the history
…ibility with latest version of Administrate gem

See #143
  • Loading branch information
migu0 authored and Dreamersoul committed May 17, 2024
1 parent 7e8f367 commit f109b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class ModelDashboard < Administrate::BaseDashboard
}

# permitted for has_many_attached
def permitted_attributes
def permitted_attributes(_action = nil)
super + [:attachments => []]
end
```
Expand Down

0 comments on commit f109b48

Please sign in to comment.