Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
krrish-sehgal committed Jan 8, 2025
1 parent b702b73 commit 467c85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/views/issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -1522,7 +1522,7 @@ def comment_on_content(request, content_pk):

if parent_comment is None:
messages.error(request, "Parent comment doesn't exist.")
return redirect(f"/{content_type}/{content_pk}")
return redirect("home")

Comment.objects.create(
parent=parent_comment,
Expand Down

0 comments on commit 467c85a

Please sign in to comment.