DEV: Follow Discourse's convention when monkey patching.
Having to load `ip_addr` is confusing especially when that file exists to monkey patch Ruby's `IpAddr` class. Moving it to our freedom patches folder which is automatically loaded on initialization.
This commit is contained in:
parent
0d9ab0beb3
commit
ab2c17236a
|
@ -1,7 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require 'screening_model'
|
||||
require 'ip_addr'
|
||||
|
||||
# A ScreenedIpAddress record represents an IP address or subnet that is being watched,
|
||||
# and possibly blocked from creating accounts.
|
||||
|
|
Loading…
Reference in New Issue