Merge branch 'master' of ssh://4angle.com/home/edward/git/sourcing
This commit is contained in:
commit
59b1511e17
|
@ -265,6 +265,11 @@ def history(username, hashid):
|
|||
item = get_item(username, hashid)
|
||||
return render_template('history.html', doc=item)
|
||||
|
||||
@bp.route('/<username>/<hashid>/xanaedit')
|
||||
def xanaedit_item(username, hashid):
|
||||
obj = get_item(username, hashid)
|
||||
return render_template('xanaedit.html', doc=obj)
|
||||
|
||||
@bp.route('/<username>/<hashid>/edit', methods=['GET', 'POST'])
|
||||
def edit_item(username, hashid):
|
||||
obj = get_item(username, hashid)
|
||||
|
|
Loading…
Reference in a new issue