Skip to content

Commit

Permalink
Fix Railtie require
Browse files Browse the repository at this point in the history
  • Loading branch information
intrip committed Jun 19, 2024
1 parent fb8b9f1 commit 5d9dc6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/homographic_spoofing.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
loader = Zeitwerk::Loader.for_gem
loader.setup

require "homographic_spoofing/railtie" if defined?(Rails::Railtie)

module HomographicSpoofing
mattr_accessor :logger, instance_accessor: false

Expand Down Expand Up @@ -45,3 +43,5 @@ def sanitize_idn(idn)
end
end
end

require_relative "homographic_spoofing/railtie" if defined?(Rails::Railtie)

0 comments on commit 5d9dc6b

Please sign in to comment.