app/admin/c80_estate/areas.rb in c80_estate-0.1.0.31 vs app/admin/c80_estate/areas.rb in c80_estate-0.1.0.32
- old
+ new
@@ -1,8 +1,11 @@
ActiveAdmin.register C80Estate::Area, as: 'Area' do
# scope_to :current_admin_user, association_method: :sites_list
+ config.sort_order = 'title_asc'
+ config.per_page = 100
+
menu :label => 'Площади', priority: 3
permit_params :title,
:desc,
:owner_id,
\ No newline at end of file