diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-19 16:44:48 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-19 16:44:48 -0700 |
commit | c0b0ea392cbe749ab67af027bf4ff5135cfefaa6 (patch) | |
tree | 5f7d126a02987d866181be2b1d7b686fc426bd28 /app/models/action_mailroom/inbound_email | |
parent | f08c37e6bf2af69d6308d2b8213d98f7b205b2a9 (diff) | |
download | rails-c0b0ea392cbe749ab67af027bf4ff5135cfefaa6.tar.gz rails-c0b0ea392cbe749ab67af027bf4ff5135cfefaa6.tar.bz2 rails-c0b0ea392cbe749ab67af027bf4ff5135cfefaa6.zip |
You're not paying by the character
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 |