discourse/config/initializers/000-rails-master-polyfills.rb
2016-03-31 17:40:54 -04:00

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