canvas-lms/app/messages/new_discussion_entry.twitte...

4 lines
301 B
Plaintext

<% define_content :link do -%>
<%= polymorphic_url([asset.context, :discussion_topic], id: asset.discussion_topic_id, anchor: "entry-#{asset.id}") %>
<% end -%>
<%= t :body, "Canvas Alert - Comment: %{discussion_topic}, %{course}.", :discussion_topic => asset.title, :course => asset.context.name %>