diff options
Diffstat (limited to 'app/models/action_mailroom/inbound_email')
-rw-r--r-- | app/models/action_mailroom/inbound_email/routable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/action_mailroom/inbound_email/routable.rb b/app/models/action_mailroom/inbound_email/routable.rb index b888c592f5..61a14a0ba1 100644 --- a/app/models/action_mailroom/inbound_email/routable.rb +++ b/app/models/action_mailroom/inbound_email/routable.rb @@ -2,7 +2,7 @@ module ActionMailroom::InboundEmail::Routable extend ActiveSupport::Concern included do - after_create_commit :route_later, if: ->(r) { r.pending? } + after_create_commit :route_later, if: ->(inbound_email) { inbound_email.pending? } end private |