Merge pull request #24096 from edx/aj/MICROBA-281

Fix for the redirect for the coaching form
This commit is contained in:
Albert (AJ) St. Aubin
2020-05-29 09:54:59 -04:00
committed by GitHub

View File

@@ -287,7 +287,7 @@ from student.models import CourseEnrollment
<%
account_mfe_url = getattr(settings, 'ACCOUNT_MICROFRONTEND_URL', '') or ''
coaching_consent_url = "%s/coaching_consent?next=%s" % (account_mfe_url, getattr(settings, 'LMS_ROOT_URL', '') + resume_button_url)
coaching_consent_url = "%s/coaching_consent?next=%s" % (account_mfe_url, getattr(settings, 'LMS_ROOT_URL', '') + reverse('dashboard'))
%>
% if plugins.get("coaching", {}).get("show_coaching_aside"):
<div class="wrapper-coaching">