If you'd like to override the page titles, follow this pattern (from #184)
ActiveAdmin.register Post do # DO THIS show :title => :my_title_method do # ... end # OR THIS show :title => proc{ post.title } do # ... end end
If you would like to set the title on a custom action, for example a collection_action, you can do this:
collection_action
ActiveAdmin.register Post do collection_action :import do @page_title = "Import Posts" end end
There was an error while loading. Please reload this page.