class ActiveAdmin::Views::IndexAsBlog
def build(page_config, collection)
def build(page_config, collection) @page_config = page_config @collection = collection # Call the block passed in. This will set the # title and body methods instance_eval &page_config.block if page_config.block build_posts end