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.
About this issue
- Original URL
- State: closed
- Created 11 years ago
- Comments: 17 (9 by maintainers)
Commits related to this issue
- do not replace default menu with parent specific menu by default [closes #2739, #2637] — committed to Fivell/activeadmin by Fivell 7 years ago
- do not replace default menu with parent specific menu by default [closes #2739, #2637] — committed to Fivell/activeadmin by Fivell 7 years ago
@dan It looks like you can use
navigation_menu :default
to make the resource render with the main navigation menu.