app/builders/blacklight/action_builder.rb in blacklight-7.33.0 vs app/builders/blacklight/action_builder.rb in blacklight-7.33.1

- old
+ new

@@ -32,10 +32,10 @@ if request.post? && #{callback} && (#{validator}.blank? || send(#{validator})) send(#{callback}, @documents) - flash[:success] ||= I18n.t("blacklight.#{name}.success", default: nil) + flash.now[:success] ||= I18n.t("blacklight.#{name}.success", default: nil) respond_to do |format| format.html do return render "#{name}_success" if request.xhr? redirect_to action_success_redirect_path