class ActiveAdmin::Views::IndexAsBlog
def body(method = nil, &block)
Setter method for the configuration of the body
def body(method = nil, &block) if block_given? || method @body = block_given? ? block : method end @body end
def body(method = nil, &block) if block_given? || method @body = block_given? ? block : method end @body end