Skip to content

Commit 3edf9cf

Browse files
arkirchnerMrSerth
andauthored
Update app/mailers/report_mailer.rb
Co-authored-by: Sebastian Serth <[email protected]>
1 parent e283689 commit 3edf9cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/mailers/report_mailer.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ def report_content
88
study_group = @reported_content.submission.study_group
99
exercise = @reported_content.exercise
1010

11-
# NOTE: This implementation assumes the curse URL is static and does not vary per user.
12-
# This is currently valid for all known use cases. However, in dynamic environments—such as
13-
# advanced content trees in openHPI or A/B/n testingthis assumption may break.
11+
# NOTE: This implementation assumes the course URL is static and does not vary per user.
12+
# This is currently valid for a majority of use cases. However, in dynamic scenarios (such as
13+
# content trees in openHPI used in conjunction with A/B/n testing) this assumption may no longer hold true.
1414
@course_url = LtiParameter.find_by(study_group:, exercise:)&.lti_parameters&.[]('launch_presentation_return_url')
1515

1616
mail(subject: I18n.t('report_mailer.report_content.subject', content_name: @reported_content.model_name.human))

0 commit comments

Comments
 (0)