6 lines
484 B
Plaintext
6 lines
484 B
Plaintext
<% define_content :link do %>
|
|
<%# TODO: once react_discussions_post is no longer feature_flag_dependent, remove the anchor param %>
|
|
<%= polymorphic_url([asset.context, :discussion_topic], id: asset.discussion_entry.discussion_topic_id, anchor: "entry-#{asset.discussion_entry_id}", entry_id: asset.discussion_entry_id) %>
|
|
<% end %>
|
|
<%= t :body, "Canvas Alert - Mention: %{discussion_topic}, %{course}.", discussion_topic: asset.discussion_entry.title, course: asset.context.name %>
|