class ActiveAdmin::Views::IndexAsBlog

def title(method = nil, &block)

Setter method for the configuration of the title
def title(method = nil, &block)
  if block_given? || method
    @title = block_given? ? block : method
  end
  @title
end