Skip to content

Extend default controller methods

jpmckinney edited this page Jul 5, 2012 · 8 revisions

ActiveAdmin uses InheritedResources for this functionality. Read especially this part of the documentation. So, you can do, for example:

ActiveAdmin.register ClassName do
  controller do
    def index
      # my custom code
      index!
    end
  end
end
Clone this wiki locally