From 6e529345bf0c7bc70e769ffbab81ba0f9035b536 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Tue, 20 Jun 2017 19:18:39 +0100 Subject: [PATCH] add xanaedit_item --- sourcing/view.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sourcing/view.py b/sourcing/view.py index 4ab9664..07a2eb0 100644 --- a/sourcing/view.py +++ b/sourcing/view.py @@ -249,6 +249,11 @@ def history(username, hashid): item = get_item(username, hashid) return render_template('history.html', doc=item) +@bp.route('///xanaedit') +def xanaedit_item(username, hashid): + obj = get_item(username, hashid) + return render_template('xanaedit.html', doc=obj) + @bp.route('///edit', methods=['GET', 'POST']) def edit_item(username, hashid): obj = get_item(username, hashid)