aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2018-10-17 12:48:45 -0400
committerGeorge Claghorn <george@basecamp.com>2018-10-17 12:48:45 -0400
commit1c4a57e0e5b9666f0a05eb4fbdad09a6998ef54b (patch)
tree6216450b23df6adc8d8b003987439ee3defcf594
parent5a8939447b2ae655f0c304ebb226eb5e6f9d8496 (diff)
downloadrails-1c4a57e0e5b9666f0a05eb4fbdad09a6998ef54b.tar.gz
rails-1c4a57e0e5b9666f0a05eb4fbdad09a6998ef54b.tar.bz2
rails-1c4a57e0e5b9666f0a05eb4fbdad09a6998ef54b.zip
Remove needless autoloads
ActionMailbox::Callbacks and ActionMailbox::Routing are eagerly loaded where they're used.
-rw-r--r--lib/action_mailbox.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/action_mailbox.rb b/lib/action_mailbox.rb
index 01cc38ec4a..ae37cb84ed 100644
--- a/lib/action_mailbox.rb
+++ b/lib/action_mailbox.rb
@@ -5,8 +5,6 @@ module ActionMailbox
autoload :Base
autoload :Router
- autoload :Callbacks
- autoload :Routing
mattr_accessor :logger
mattr_accessor :incinerate_after, default: 30.days