Hello All,

I have two separate plugins where i have created two separate menu items .

Now i want to combined both menus under common menu item:

I have created main menu into the first plugin:

 sub_menu :top_menu, :ConfigMonitor, :caption=> N_('Config-Monitor'), 
:after=> :infrastructure_menu do
          menu :top_menu, :level1, :caption=>N_('Versions'), :url_hash => 
{:controller=> :'foreman_config_monitor/versions', :action=>:version}

And create second menu under second plugin:

menu :top_menu, :patchmanagement, url_hash => {:controller=> 
:'foreman_patch_management/patchmanagements', :action=>:patchstatus},
      :caption=> N_(''Patch-Management'),
      :parent => :ConfigMonitor,
      :first => true

but i am unable to create submenu under custom menu item.that is not 

But if i changed parent to existing menu item like "host_menu" then it is 
working fine.

Could you please help.


You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to