Skip to content

Commit 1a0c544

Browse files
committed
Only autoload delivery method directories. Fixes #557
1 parent 4179718 commit 1a0c544

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/noticed.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
loader = Zeitwerk::Loader.for_gem(warn_on_extra_files: false)
77
loader.ignore("#{__dir__}/generators")
8+
loader.do_not_eager_load("#{__dir__}/noticed/bulk_delivery_methods")
9+
loader.do_not_eager_load("#{__dir__}/noticed/delivery_methods")
810
loader.setup
911

1012
module Noticed

0 commit comments

Comments
 (0)