def bulk_update
      # This is what makes the update
      func = Comment.bulk_update params

      respond_to do |format|
        format.html { redirect_to admin_comments_path, notice: func == 'ntd' ? I18n.t("controllers.admin.comments.bulk_update.flash.nothing_to_do") :  I18n.t("controllers.admin.comments.bulk_update.flash.success", func: func) }
      end

    end
def bulk_update
      # This is what makes the update
      func = Comment.bulk_update params

      respond_to do |format|
        format.html { redirect_to admin_comments_path, notice: func == 'ntd' ? I18n.t("controllers.admin.comments.bulk_update.flash.nothing_to_do") :  I18n.t("controllers.admin.comments.bulk_update.flash.success", func: func) }
      end

    end
bulk_update function takes all of the checked options and updates them with the given option selected. The options for the bulk update in comments area are
 - Unapprove
 - Approve
 - Mark as Spam
 - Destroy