API introduction

This commit is contained in:
Ruud
2012-04-07 16:51:25 +02:00
parent 6199c0385c
commit 5f319635c2
4 changed files with 16 additions and 3 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ def apiDocs():
if api_docs.get(''):
del api_docs['']
del api_docs_missing['']
return render_template('api.html', routes = sorted(routes), api_docs = api_docs, api_docs_missing = sorted(api_docs_missing))
return render_template('api.html', fireEvent = fireEvent, routes = sorted(routes), api_docs = api_docs, api_docs_missing = sorted(api_docs_missing))
@app.errorhandler(404)
def page_not_found(error):