Stop, restart app placeholder views

This commit is contained in:
Ruud
2011-02-14 18:57:07 +01:00
parent f16ccf7905
commit 0fcd49c901

View File

@@ -22,3 +22,17 @@ def page_not_found(error):
index_url = url_for('web.index')
url = request.path[len(index_url):]
return redirect(index_url + '#' + url)
@web.route('/exit')
@requires_auth
def exit():
# stopping code
pass
@web.route('/restart')
@requires_auth
def restart():
# restart code
pass