def index
      # set title
      set_title(I18n.t("generic.trash"))

      # get all posts/pages that are in the trash area
      @records = Post.where(disabled: 'Y')
      @posts = Post.where(disabled: 'Y', post_type: 'post' )
      @pages = Post.where(disabled: 'Y', post_type: 'page' )
    end
def index
      # set title
      set_title(I18n.t("generic.trash"))

      # get all posts/pages that are in the trash area
      @records = Post.where(disabled: 'Y')
      @posts = Post.where(disabled: 'Y', post_type: 'post' )
      @pages = Post.where(disabled: 'Y', post_type: 'page' )
    end
the trash area saves any posts/pages that were moved to trash in the trash can.
 you can then decide if you want to remove these completely or reinstate them - put simply it is a fail
 safe so that you don't accidently delete something that you didn't want to delete