activeadmin: Resources using belongs_to have broken menus in at least 2 ways

Howdy,

It seems that 0.6.2 menus are broken for resources using belongs_to. There are two cases I’ve come across.

If the resource also includes menu false then AA raises a ActiveAdmin::MenuCollection::NoMenuError

If the the menu isn’t disabled the page renders, but the menu only displays a single entry for the current resource type as can been seen below.

aa_menu_issue

About this issue

  • Original URL
  • State: closed
  • Created 11 years ago
  • Comments: 17 (9 by maintainers)

Commits related to this issue

Most upvoted comments

@dan It looks like you can use navigation_menu :default to make the resource render with the main navigation menu.