lib/generators/ab_admin/model/templates/resource.erb in ab_admin-0.6.1 vs lib/generators/ab_admin/model/templates/resource.erb in ab_admin-0.7.0
- old
+ new
@@ -1,5 +1,6 @@
class AbAdmin<%= model.name %> < AbAdmin::AbstractResource
+ permitted_params :all
<% if model.respond_to?(:acts_as_nested_set_options) -%>
settings index_view: 'tree'
<% else -%>
table do
\ No newline at end of file