summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-11-15 17:18:34 -0500
committerluxagraf <sng@luxagraf.net>2019-11-15 17:18:34 -0500
commit8572bf23042ada9dccc6b3e886d9db43538edcc6 (patch)
treeda74f51086e89a8272693e991377e44c7003507a /app
parentfec70944b507c2d7d81f0f732df4ed8e7d2c3426 (diff)
changed reverse URL for reviews
Diffstat (limited to 'app')
-rw-r--r--app/posts/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/posts/models.py b/app/posts/models.py
index 2168df1..8a0ac23 100644
--- a/app/posts/models.py
+++ b/app/posts/models.py
@@ -91,7 +91,7 @@ class Post(models.Model):
if self.post_type == 0:
return reverse('guides:detail', kwargs={"slug": self.slug})
if self.post_type == 1:
- return reverse('reviews:detail', kwargs={"slug": self.slug})
+ return reverse('reviews:review-detail', kwargs={"slug": self.slug})
if self.post_type == 2:
return reverse('essays:detail', kwargs={"slug": self.slug})