mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 03:05:57 +08:00
7 lines
142 B
Ruby
7 lines
142 B
Ruby
if Rails.version < "4.2.0"
|
|
class Mail::Message
|
|
alias_method :deliver_now, :deliver
|
|
alias_method :deliver_now!, :deliver!
|
|
end
|
|
end
|