app/mailers/thredded/post_mailer.rb in thredded-0.12.1 vs app/mailers/thredded/post_mailer.rb in thredded-0.12.2
- old
+ new
@@ -1,5 +1,6 @@
# frozen_string_literal: true
+
module Thredded
class PostMailer < Thredded::BaseMailer
def post_notification(post_id, emails)
@post = find_record Thredded::Post, post_id
email_details = Thredded::TopicEmailView.new(@post.postable)