feat: Add message content to mention email template (#2838)

This commit is contained in:
Tejaswini Chile
2021-08-18 15:28:45 +05:30
committed by GitHub
parent 20b96c7c60
commit eb80324eaa
5 changed files with 37 additions and 8 deletions

View File

@@ -3,7 +3,7 @@ class ApplicationRecord < ActiveRecord::Base
self.abstract_class = true
# the models that exposed in email templates through liquid
DROPPABLES = %w[Account Channel Conversation Inbox User].freeze
DROPPABLES = %w[Account Channel Conversation Inbox User Message].freeze
# ModelDrop class should exist in app/drops
def to_drop