summaryrefslogtreecommitdiff
path: root/app/posts/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/posts/models.py')
-rw-r--r--app/posts/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/posts/models.py b/app/posts/models.py
index ba578b8..94adf6c 100644
--- a/app/posts/models.py
+++ b/app/posts/models.py
@@ -138,7 +138,8 @@ class Post(models.Model):
if self.post_type == PostType.PHOTO_ESSAY:
return reverse('photo_essay:detail', kwargs={"slug": self.slug})
if self.post_type == PostType.ESSAY:
- return reverse('essays:detail', kwargs={"cat": self.get_post_topic_display(), "slug": self.slug})
+ #return reverse('essays:detail', kwargs={"cat": self.get_post_topic_display(), "slug": self.slug})
+ return reverse('jrnl:essay', kwargs={"slug": self.slug,})
if self.post_type == PostType.SRC:
return reverse('src:detail', kwargs={"slug": self.slug})
if self.post_type == PostType.FIELD_NOTE: