app/admin/c80_estate/astatuses.rb in c80_estate-0.1.0.9 vs app/admin/c80_estate/astatuses.rb in c80_estate-0.1.0.10

- old
+ new

@@ -1,7 +1,8 @@ # ПОДкатегории строительных материалов ActiveAdmin.register C80Estate::Astatus, :as => 'Astatus' do + menu :label => "Настройки", :priority => 3#, :if => :foo menu :label => "Статусы", :parent => "Настройки", :if => proc { current_admin_user.can_view_settings? } permit_params :title config.sort_order = 'id_asc' \ No newline at end of file