aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-04-03 12:10:18 +0100
committerGravatar Gareth Coles <[email protected]>2018-04-03 12:10:18 +0100
commitde0cc662bde7eed3ec1f78a26042792dd16d7c44 (patch)
tree6ae34263b88f7c418e7f9a9a8493917d784d6ed8
parentCommitting wiki subdomain so I can fix my X server (diff)
Fix staff route name
-rw-r--r--pysite/views/staff/index.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pysite/views/staff/index.py b/pysite/views/staff/index.py
index 2c93dd1a..e5c3c1b0 100644
--- a/pysite/views/staff/index.py
+++ b/pysite/views/staff/index.py
@@ -6,7 +6,7 @@ from pysite.decorators import require_roles
class StaffView(RouteView):
path = "/"
- name = "staff.index"
+ name = "index"
@require_roles(*ALL_STAFF_ROLES)
def get(self):