Skip to content

Commit 0124ae6

Browse files
simonistacodekitchen
authored andcommitted
increment a rubric cache key
fixes CNVS-9556 test plan: - with caching enabled - go to a submission page with a rubric that had been recently viewed - it should look correct Change-Id: I5288d03520af2761bf6c5296f8c2cf7b45c207b1 Reviewed-on: https://gerrit.instructure.com/26393 Reviewed-by: Brian Palmer <brianp@instructure.com> Product-Review: Brian Palmer <brianp@instructure.com> QA-Review: Brian Palmer <brianp@instructure.com> Tested-by: Brian Palmer <brianp@instructure.com>
1 parent 47da9e5 commit 0124ae6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/shared/_rubric.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
show_grading = !@assignment || @assignment.submission_types != 'online_quiz'
88
rubric_association = assessment.rubric_association if assessment
99
%>
10-
<% cache(['rubric_render2',
10+
<% cache(['rubric_render3',
1111
(rubric.try(:cache_key) || 'no_rubric'),
1212
(rubric.try(:cache_key) || context.asset_string),
1313
(rubric_association.try(:cache_key) || 'no_association'),

0 commit comments

Comments
 (0)