Skip to content

Commit

Permalink
Use display url in notify redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
teemulehtinen committed Sep 13, 2016
1 parent 1c376d6 commit 0f90d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notification/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get(self, request, *args, **kwargs):
self.notification.save()
if self.notification.submission:
return self.redirect(
self.notification.submission.exercise.get_absolute_url()
self.notification.submission.exercise.get_display_url()
)
return HttpResponse(
"[Old Notification] {}: {}".format(
Expand Down

0 comments on commit 0f90d35

Please sign in to comment.