From 68e846d478e0b9e1ec1f06e44f8b4008bf51e88f Mon Sep 17 00:00:00 2001 From: wdransfield Date: Sun, 15 Mar 2020 13:04:48 -0600 Subject: [PATCH] Add deep linking route for "groups" context Closes PLAT-5607 Test Plan: - Install the MS Teams app in a course - Add a student to that course and add them to a group - Act as the student - Click the the calendar in the global navigation and create a new event - In the new events modal select the group the student belongs to for the "Calendar" input - Click "more options" - In the RCE, verify you can emberd a MS teams meeting Change-Id: I2567c9db1d1ceb2a2a80fc1c595d1e5ed528d91e Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/230070 Tested-by: Service Cloud Jenkins Reviewed-by: Evan Battaglia Reviewed-by: Jacob Burroughs Reviewed-by: Tucker Mcknight QA-Review: Evan Battaglia Product-Review: Weston Dransfield --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 1c2706008c9..9e9a649f04d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -500,7 +500,7 @@ CanvasRails::Application.routes.draw do get 'external_content/retrieve/oembed' => 'external_content#oembed_retrieve', as: :external_content_oembed_retrieve get 'external_content/cancel/:service' => 'external_content#cancel', as: :external_content_cancel - %w(account course).each do |context| + %w(account course group).each do |context| prefix = "#{context}s/:#{context}_id" post "#{prefix}/deep_linking_response", controller: 'lti/ims/deep_linking', action: :deep_linking_response, as: "#{context}_deep_linking_response" end