app/mailers/rad_social_mailer.rb in trusty-cms-3.4.0 vs app/mailers/rad_social_mailer.rb in trusty-cms-3.5.0
- old
+ new
@@ -1,4 +1,6 @@
+require 'roadie-rails'
+
class RadSocialMailer < ApplicationMailer
include Roadie::Rails::Automatic
def social_mail options
from_address = Mail::Address.new options[:from] # ex: "john@example.com"