app/mailers/quo_vadis/mailer.rb in quo_vadis-2.1.9 vs app/mailers/quo_vadis/mailer.rb in quo_vadis-2.1.10
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
module QuoVadis
- class Mailer < ::ActionMailer::Base
+ class Mailer < QuoVadis.mailer_superclass.constantize
def reset_password
@url = params[:url]
_mail params[:email], QuoVadis.translate('mailer.password_reset.subject')
end