Answer the question
In order to leave comments, you need to log in
How to remove an ActiveAdmin menu item?
There is a rails application with ActiveAdmin, it has a test_tables.rb controller. In the dashboard, you need to remove the menu item for this controller.
ActiveAdmin.register_page "TestTable" do
menu :parent =>'else', :priority => 1, :label => I18n.t('manage.menu.test_table'), :if => proc { admin? }
content do
render 'admin/test_tables/index.html.haml'
end
.....
end
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question