module ActiveAdmin::Comments::ShowPageHelper

def active_admin_comments(*args, &block)

#active_admin_comments_for with the current resource
Display the comments for the resource. Same as calling
def active_admin_comments(*args, &block)
  active_admin_comments_for(resource, *args, &block)
end

def default_main_content

turned on for the current resource
Add admin comments to the main content if they are
def default_main_content
  super
  active_admin_comments if active_admin_config.comments?
end