use correct route for collaboration subclasses
fixes CNVS-20443 use repro step on the ticket for testing Change-Id: Ie5011410108cf5ae8b0e90d827b2bf2017b1f0f7 Reviewed-on: https://gerrit.instructure.com/54220 Tested-by: Jenkins Reviewed-by: Matthew Wheeler <mwheeler@instructure.com> QA-Review: Derek Hansen <dhansen@instructure.com> Product-Review: Matthew Wheeler <mwheeler@instructure.com>
This commit is contained in:
parent
6636445f69
commit
4050454391
|
@ -1,5 +1,5 @@
|
|||
<% define_content :link do %>
|
||||
<%= polymorphic_url([asset.collaboration.context, asset.collaboration]) %>
|
||||
<%= polymorphic_url([asset.collaboration.context, asset.collaboration.becomes(Collaboration)]) %>
|
||||
<% end %>
|
||||
|
||||
<% define_content :subject do %>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<% define_content :link do %>
|
||||
<%= polymorphic_url([asset.collaboration.context, asset.collaboration]) %>
|
||||
<%= polymorphic_url([asset.collaboration.context, asset.collaboration.becomes(Collaboration)]) %>
|
||||
<% end %>
|
||||
|
||||
<% define_content :subject do %>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<% define_content :link do %>
|
||||
<%= polymorphic_url([asset.collaboration.context, asset.collaboration]) %>
|
||||
<%= polymorphic_url([asset.collaboration.context, asset.collaboration.becomes(Collaboration)]) %>
|
||||
<% end %>
|
||||
|
||||
<% define_content :subject do %>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<% define_content :link do -%>
|
||||
<%= polymorphic_url([asset.collaboration.context, asset.collaboration]) %>
|
||||
<%= polymorphic_url([asset.collaboration.context, asset.collaboration.becomes(Collaboration)]) %>
|
||||
<% end -%>
|
||||
<%= t :body, "Canvas Alert - Collaboration Invite: %{document}, %{course_or_group}", :document => asset.collaboration.title, :course_or_group => asset.collaboration.context.name %>
|
Loading…
Reference in New Issue