lib/active_admin/resource/menu.rb in andrewroth_activeadmin-0.3.4 vs lib/active_admin/resource/menu.rb in andrewroth_activeadmin-0.3.4.1

- old
+ new

@@ -34,11 +34,10 @@ menu_options[:if] || proc { true } end # Should this resource be added to the menu system? def include_in_menu? - return false if menu_options[:display] == false - !(belongs_to? && !belongs_to_config.optional?) + menu_options[:display] != false end end end end