Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Commit

Permalink
apps/questions: Change redirect urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Magdalena Noffke committed Oct 15, 2019
1 parent 80ba9c4 commit fbb3b92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/questions/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,6 @@ def __str__(self):
return str(self.text)

def get_absolute_url(self):
return reverse('question-list', args=[str(self.module.slug)])
return reverse('module-detail',
args=[str(self.module.project.organisation.slug),
str(self.module.slug)])

0 comments on commit fbb3b92

Please sign in to comment.