From 1dfc306e76a54ebe58a2ea74fd447bd457aabfee Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Thu, 21 Sep 2023 11:56:35 +0200 Subject: [PATCH] Refactor passing of parameters for LaExerciseChannel --- app/views/exercises/study_group_dashboard.html.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/exercises/study_group_dashboard.html.slim b/app/views/exercises/study_group_dashboard.html.slim index 4c615561..ed9bfd5e 100644 --- a/app/views/exercises/study_group_dashboard.html.slim +++ b/app/views/exercises/study_group_dashboard.html.slim @@ -7,7 +7,7 @@ h1 = t('.live_dashboard') -div.teacher_dashboard data-exercise-id="#{@exercise.id}" data-study-group-id="#{@study_group_id}" +div.teacher_dashboard data-exercise-id=@exercise.id.to_s data-study-group-id=@study_group_id.to_s h4.mt-4 = t('.time_spent_per_learner')