summaryrefslogtreecommitdiffstats
path: root/ogcp/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/views.py')
-rw-r--r--ogcp/views.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index bb9eaeb..3e7c4e4 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -711,3 +711,9 @@ def action_room_delete():
for room in rooms]
form.room.choices = list(rooms)
return render_template('actions/delete_room.html', form=form)
+
+@app.route('/commands/', methods=['GET'])
+@login_required
+def commands():
+ scopes, clients = get_scopes()
+ return render_template('commands.html', scopes=scopes, clients=clients)