×
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ursyathi
Contributor
Message 1 of 3

Need a second level menu

Does activeadmin support 2nd level menus? For example, I tried the following to have "Safety" under "Resources" and "Cyber Security" and "Emergency Plans" under "Safety"

ActiveAdmin.register_page 'Safety' do
  menu parent:'Resources'
  content do
    render template: 'safety/safety'
  end
end


ActiveAdmin.register_page 'Cyber Security' do
  menu parent: 'Safety'
  content do
    render template: 'safety/cyber_security'
  end
end

ActiveAdmin.register_page 'Emergency Plans' do
  menu parent: 'Safety'
  content do
    render template: 'safety/emergency_plans'
  end
end

That does not work. I simply see the Safety menu item in the dropdown but I don't see the other three We are using version 0.6.6 of activeadmin.

Question: Does this version or any newer version of active-admin support multi level menus? If so, how can I do that?

2 Replies
ursyathi
Contributor
Message 2 of 3

Re: Need a second level menu

Where is a good place to start with cyber security Training, not necessarily directly related to programming?

cityhyd
Contributor
Message 3 of 3

Re: Need a second level menu

The Prestige City Hyderabad Team Will Help you On Cyber Attacks, Because this team is learning this things

How Many Badges Can You Collect?
Ready for a little competition? Members like you are earning badges and unlocking perks for their helpful answers. Are you? Click here to find out.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community