app/admin/c80_estate/sevents.rb in c80_estate-0.1.0.7 vs app/admin/c80_estate/sevents.rb in c80_estate-0.1.0.8

- old
+ new

@@ -1,9 +1,9 @@ ActiveAdmin.register C80Estate::Sevent, as: 'Sevent' do # scope_to :current_admin_user, association_method: :sites_list - menu :label => "Площади", :parent => 'Статистика' + menu :label => "Площади", :parent => 'Статистика', if: proc{ current_admin_user.can_view_statistics? } permit_params :area_id, :atype_id, :property_id, :astatus_id, \ No newline at end of file