1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2026-01-17 21:39:47 +00:00

style(rubocop): Lint/UselessAssignment

هذا الالتزام موجود في:
Adam Cooke
2024-02-10 17:16:45 +00:00
الأصل 25d7d66b47
التزام 7590a46234
12 ملفات معدلة مع 18 إضافات و20 حذوفات

عرض الملف

@@ -33,7 +33,7 @@ class IPPoolsController < ApplicationController
def destroy
@ip_pool.destroy
redirect_to_with_json :ip_pools, notice: "IP pool has been removed successfully."
rescue ActiveRecord::DeleteRestrictionError => e
rescue ActiveRecord::DeleteRestrictionError
redirect_to_with_json [:edit, @ip_pool], alert: "IP pool cannot be removed because it still has associated addresses or servers."
end