discourse/config/initializers/00-rails-master-polyfills.rb

9 lines
130 B
Ruby
Raw Normal View History

unless rails_master?
class Mail::Message
alias_method :deliver_now, :deliver
alias_method :deliver_now!, :deliver!
end
end