Fix comment stream link

This commit is contained in:
cuom1999 2021-12-16 21:30:55 -06:00
parent d97c77728f
commit e15f05f323

View file

@ -105,7 +105,7 @@ class Comment(MPTTModel):
try:
link = None
if self.page.startswith('p:'):
link = reverse('problem_detail', args=(self.page[2:],))
link = reverse('problem_comments', args=(self.page[2:],))
elif self.page.startswith('c:'):
link = reverse('contest_view', args=(self.page[2:],))
elif self.page.startswith('b:'):