def bulk_update
      notice = Term.bulk_update params
      redirect_url = Term.get_redirect_url(params)

      respond_to do |format|
        format.html { redirect_to URI.parse(redirect_url).path, only_path: true, notice: notice }
      end
    end
def bulk_update
      notice = Term.bulk_update params
      redirect_url = Term.get_redirect_url(params)

      respond_to do |format|
        format.html { redirect_to URI.parse(redirect_url).path, only_path: true, notice: notice }
      end
    end
Takes all of the checked options and updates them with the given option selected.
 The options for the bulk update in pages area are:-
 - Delete