Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ActiveAdmin: use menu label and menu parent

I'm trying to set custom menu labels for menu parent in active_admin like

Parent label
  custom label 1
  custom label 2
  custom label 3

The problem is when I set it like

ActiveAdmin.register Example do

  menu parent: 'Parent'
  menu label: 'Label 1'

end

menu parent doesn't work. How can I fix it?

Thanks!

like image 685
Pavel Babin Avatar asked Jul 28 '14 13:07

Pavel Babin


1 Answers

menu parent: 'Parent', label: 'Label 1'
like image 184
nistvan Avatar answered Sep 17 '22 18:09

nistvan