mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: include topic link when inviting existing users to a topic/PM
FEATURE: allow staff to use topic_url for customizing email template
This commit is contained in:
@@ -566,7 +566,8 @@ class UserNotifications < ActionMailer::Base
|
||||
topic_title: gsub_emoji_to_unicode(title),
|
||||
topic_excerpt: topic_excerpt,
|
||||
site_title: SiteSetting.title,
|
||||
site_description: SiteSetting.site_description
|
||||
site_description: SiteSetting.site_description,
|
||||
topic_url: post.topic.url
|
||||
)
|
||||
|
||||
html = PrettyText.cook(message, sanitize: false).html_safe
|
||||
|
||||
Reference in New Issue
Block a user