app/mailers/application_mailer.rb in pages_cms-2.1.1 vs app/mailers/application_mailer.rb in pages_cms-2.2.1
- old
+ new
@@ -1,7 +1,3 @@
class ApplicationMailer < ActionMailer::Base
- def account
- PagesCms::Account.first
- end
-
- default from: "noreply@#{ account ? account.site_name : 'your_site' }.com"
+ default from: 'noreply@pagescms'
end