FIX: Use Topic#url to generate topic URL
This commit is contained in:
parent
88f0c37702
commit
6825dcd007
|
@ -17,7 +17,7 @@ class AssignMailer < ActionMailer::Base
|
|||
topic_title: topic.title,
|
||||
assignee_name: assigned_by.username,
|
||||
topic_excerpt: topic.excerpt,
|
||||
topic_link: "#{Discourse.base_url}/t/#{topic.slug}"
|
||||
topic_link: topic.url
|
||||
}
|
||||
build_email(to_address, opts)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue