From 925e549d9bfcd4e0d9ca812afc94fcc394b434fc Mon Sep 17 00:00:00 2001
From: Edward Betts <edward@4angle.com>
Date: Tue, 5 Jun 2018 20:26:50 +0100
Subject: [PATCH] Update xanadoc URLs.

---
 sourcing/model.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sourcing/model.py b/sourcing/model.py
index 2033d49..f5366bf 100644
--- a/sourcing/model.py
+++ b/sourcing/model.py
@@ -255,7 +255,11 @@ class XanaDoc(Item):
 
     @property
     def xanaedit_url(self):
-        return self.view_url('xanaedit')
+        return self.view_url('xanaedit_item')
+
+    @property
+    def save_xanaedit_url(self):
+        return self.view_url('save_xanaedit')
 
 class XanaLink(Item):
     __tablename__ = 'xanalink'