summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/gtd/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/gtd/views.py b/app/gtd/views.py
index 67a8b4e..fc96187 100644
--- a/app/gtd/views.py
+++ b/app/gtd/views.py
@@ -142,9 +142,9 @@ class WiredNoteCreateView(CreateView):
return reverse('gtd:wirednotes-create')
else:
if self.object.post:
- return reverse('gtd:post-detail', kwargs={"pk": self.object.post.pk})
+ return reverse('gtd:wiredpost-detail', kwargs={"pk": self.object.post.pk})
else:
- return reverse('gtd:wirednotes-create')
+ return reverse('gtd:wirednotes-list')
class WiredNoteUpdateView(UpdateView):