diff --git a/app/controllers/admin/mail_delivery_status_controller.rb b/app/controllers/admin/mail_delivery_status_controller.rb index 4ae34fb7..52a4db92 100644 --- a/app/controllers/admin/mail_delivery_status_controller.rb +++ b/app/controllers/admin/mail_delivery_status_controller.rb @@ -25,6 +25,6 @@ class Admin::MailDeliveryStatusController < Admin::BaseController @maildeliverystatus.destroy redirect_to admin_mail_delivery_status_index_path, notice: t('.notice') rescue => error - redirect_to admin_mail_delivery_status_index_path, I18n.t('errors.general_msg', msg: error.message) + redirect_to admin_mail_delivery_status_index_path, alert: I18n.t('errors.general_msg', msg: error.message) end end