style(rubocop): Style/MutableConstant

This commit is contained in:
Adam Cooke
2024-02-10 17:34:29 +00:00
parent d508772a40
commit 129dffab9e
14 changed files with 21 additions and 24 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ class SMTPEndpoint < ApplicationRecord
has_many :routes, as: :endpoint
has_many :additional_route_endpoints, dependent: :destroy, as: :endpoint
SSL_MODES = ["None", "Auto", "STARTTLS", "TLS"]
SSL_MODES = ["None", "Auto", "STARTTLS", "TLS"].freeze
before_destroy :update_routes