mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
You're not paying by the character
This commit is contained in:
parent
f08c37e6bf
commit
c0b0ea392c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue